11 references to ERR_MemberNameSameAsExtendedType
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2535
or ErrorCode.
ERR_MemberNameSameAsExtendedType
Symbols\Source\SourceMemberContainerSymbol.cs (1)
1443
diagnostics.Add(ErrorCode.
ERR_MemberNameSameAsExtendedType
, member.GetFirstLocation(), typeName);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (9)
Semantics\ExtensionTests.cs (1)
3309
Diagnostic(ErrorCode.
ERR_MemberNameSameAsExtendedType
, "T").WithArguments("T").WithLocation(5, 14));
Semantics\ExtensionTests2.cs (8)
28454
Diagnostic(ErrorCode.
ERR_MemberNameSameAsExtendedType
, "Name").WithArguments("Name").WithLocation(5, 28));
28475
Diagnostic(ErrorCode.
ERR_MemberNameSameAsExtendedType
, "0").WithArguments("get_P").WithLocation(5, 32));
28512
Diagnostic(ErrorCode.
ERR_MemberNameSameAsExtendedType
, "+").WithArguments("op_Addition").WithLocation(5, 43));
28536
Diagnostic(ErrorCode.
ERR_MemberNameSameAsExtendedType
, "+").WithArguments("op_Addition").WithLocation(5, 45));
28557
Diagnostic(ErrorCode.
ERR_MemberNameSameAsExtendedType
, "+").WithArguments("op_Addition").WithLocation(5, 46));
28576
Diagnostic(ErrorCode.
ERR_MemberNameSameAsExtendedType
, "ValueTuple").WithArguments("ValueTuple").WithLocation(5, 28));
28597
Diagnostic(ErrorCode.
ERR_MemberNameSameAsExtendedType
, "String").WithArguments("String").WithLocation(7, 28));
28636
Diagnostic(ErrorCode.
ERR_MemberNameSameAsExtendedType
, "C").WithArguments("C").WithLocation(5, 28));