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)
2498
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)
30146
Diagnostic(ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
, "T").WithArguments("T").WithLocation(14, 21),
30149
Diagnostic(ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
, "T").WithArguments("T").WithLocation(15, 28),
30155
Diagnostic(ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
, "T").WithArguments("T").WithLocation(16, 22)
30341
Diagnostic(ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
, "T").WithArguments("T").WithLocation(19, 17),
30344
Diagnostic(ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
, "T").WithArguments("T").WithLocation(24, 17),
30347
Diagnostic(ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
, "T").WithArguments("T").WithLocation(31, 21),
30350
Diagnostic(ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
, "T").WithArguments("T").WithLocation(39, 21)
31261
Diagnostic(ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
, "T").WithArguments("T").WithLocation(10, 28),