12 references to ERR_LocalSameNameAsExtensionTypeParameter
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_NameConflicts.cs (1)
74
diagnostics.Add(ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
, GetLocation(p), name);
Binder\InMethodBinder.cs (1)
298
diagnostics.Add(ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
, newLocation, name);
Errors\ErrorFacts.cs (1)
2497
or ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (9)
Semantics\ExtensionTests.cs (9)
2047
Diagnostic(ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
, "T").WithArguments("T").WithLocation(6, 21)
30142
Diagnostic(ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
, "T").WithArguments("T").WithLocation(14, 21),
30145
Diagnostic(ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
, "T").WithArguments("T").WithLocation(15, 28),
30151
Diagnostic(ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
, "T").WithArguments("T").WithLocation(16, 22)
30337
Diagnostic(ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
, "T").WithArguments("T").WithLocation(19, 17),
30340
Diagnostic(ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
, "T").WithArguments("T").WithLocation(24, 17),
30343
Diagnostic(ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
, "T").WithArguments("T").WithLocation(31, 21),
30346
Diagnostic(ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
, "T").WithArguments("T").WithLocation(39, 21)
31257
Diagnostic(ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
, "T").WithArguments("T").WithLocation(10, 28),