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)
2499
or ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (9)
Semantics\ExtensionTests.cs (9)
1933
Diagnostic(ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
, "T").WithArguments("T").WithLocation(6, 21)
28364
Diagnostic(ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
, "T").WithArguments("T").WithLocation(14, 21),
28367
Diagnostic(ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
, "T").WithArguments("T").WithLocation(15, 28),
28373
Diagnostic(ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
, "T").WithArguments("T").WithLocation(16, 22)
28559
Diagnostic(ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
, "T").WithArguments("T").WithLocation(19, 17),
28562
Diagnostic(ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
, "T").WithArguments("T").WithLocation(24, 17),
28565
Diagnostic(ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
, "T").WithArguments("T").WithLocation(31, 21),
28568
Diagnostic(ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
, "T").WithArguments("T").WithLocation(39, 21)
29479
Diagnostic(ErrorCode.
ERR_LocalSameNameAsExtensionTypeParameter
, "T").WithArguments("T").WithLocation(10, 28),