16 references to ERR_UnderspecifiedExtension
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2512
or ErrorCode.
ERR_UnderspecifiedExtension
Symbols\Source\ParameterHelpers.cs (1)
579
diagnostics.Add(ErrorCode.
ERR_UnderspecifiedExtension
, extensionMember.GetFirstLocation(), typeParameter);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (14)
Semantics\ExtensionTests.cs (12)
3335
Diagnostic(ErrorCode.
ERR_UnderspecifiedExtension
, "P").WithArguments("T").WithLocation(5, 20));
3358
Diagnostic(ErrorCode.
ERR_UnderspecifiedExtension
, "P").WithArguments("T").WithLocation(5, 27),
3361
Diagnostic(ErrorCode.
ERR_UnderspecifiedExtension
, "P").WithArguments("T1").WithLocation(9, 27),
3364
Diagnostic(ErrorCode.
ERR_UnderspecifiedExtension
, "P").WithArguments("T2").WithLocation(9, 27));
3384
Diagnostic(ErrorCode.
ERR_UnderspecifiedExtension
, "P").WithArguments("T").WithLocation(5, 20));
3420
Diagnostic(ErrorCode.
ERR_UnderspecifiedExtension
, "-").WithArguments("T").WithLocation(6, 36));
3446
Diagnostic(ErrorCode.
ERR_UnderspecifiedExtension
, "-=").WithArguments("T").WithLocation(6, 30));
3468
Diagnostic(ErrorCode.
ERR_UnderspecifiedExtension
, "string").WithArguments("T").WithLocation(5, 41),
3498
Diagnostic(ErrorCode.
ERR_UnderspecifiedExtension
, "this").WithArguments("T").WithLocation(5, 20),
38564
Diagnostic(ErrorCode.
ERR_UnderspecifiedExtension
, "Property").WithArguments("U").WithLocation(7, 20));
40354
Diagnostic(ErrorCode.
ERR_UnderspecifiedExtension
, "P").WithArguments("T").WithLocation(9, 20),
40357
Diagnostic(ErrorCode.
ERR_UnderspecifiedExtension
, "P").WithArguments("U").WithLocation(9, 20));
Semantics\ExtensionTests2.cs (2)
37225
Diagnostic(ErrorCode.
ERR_UnderspecifiedExtension
, "Property").WithArguments("U").WithLocation(5, 20));
38230
Diagnostic(ErrorCode.
ERR_UnderspecifiedExtension
, "Property").WithArguments("T").WithLocation(7, 27));