fe777c5c82
Former-commit-id: 6a76a29bd07d86e57c6c8da45c65ed5447d38a61
12 lines
305 B
C#
12 lines
305 B
C#
// CS7081: The CallerMemberNameAttribute applied to parameter `o' will have no effect. It is overridden by the CallerLineNumberAttribute
|
|
// Line: 9
|
|
// Compiler options: -warnaserror
|
|
|
|
using System.Runtime.CompilerServices;
|
|
|
|
class D
|
|
{
|
|
void Foo ([CallerMemberName, CallerLineNumber] object o = null)
|
|
{
|
|
}
|
|
} |