10 references to ERR_NameofExtensionMember
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Invocation.cs (1)
2334
diagnostics.Add(ErrorCode.
ERR_NameofExtensionMember
, boundArgument.Syntax);
Errors\ErrorFacts.cs (1)
2525
or ErrorCode.
ERR_NameofExtensionMember
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (8)
Semantics\ExtensionTests.cs (8)
29198
Diagnostic(ErrorCode.
ERR_NameofExtensionMember
, "C.Property").WithLocation(1, 29));
29256
Diagnostic(ErrorCode.
ERR_NameofExtensionMember
, "c.Property").WithLocation(2, 29));
29286
Diagnostic(ErrorCode.
ERR_NameofExtensionMember
, "c.Property.Property").WithLocation(2, 29));
29310
Diagnostic(ErrorCode.
ERR_NameofExtensionMember
, "i.Property").WithLocation(2, 29));
29339
Diagnostic(ErrorCode.
ERR_NameofExtensionMember
, "C.Property").WithLocation(1, 29));
29396
Diagnostic(ErrorCode.
ERR_NameofExtensionMember
, "I<string>.Property").WithLocation(1, 29));
47788
Diagnostic(ErrorCode.
ERR_NameofExtensionMember
, "new object().P").WithLocation(13, 73));
47849
Diagnostic(ErrorCode.
ERR_NameofExtensionMember
, "object.P").WithLocation(7, 73));