16 references to ERR_UnderspecifiedExtension
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2505
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)
3070
Diagnostic(ErrorCode.
ERR_UnderspecifiedExtension
, "P").WithArguments("T").WithLocation(5, 20));
3093
Diagnostic(ErrorCode.
ERR_UnderspecifiedExtension
, "P").WithArguments("T").WithLocation(5, 27),
3096
Diagnostic(ErrorCode.
ERR_UnderspecifiedExtension
, "P").WithArguments("T1").WithLocation(9, 27),
3099
Diagnostic(ErrorCode.
ERR_UnderspecifiedExtension
, "P").WithArguments("T2").WithLocation(9, 27));
3119
Diagnostic(ErrorCode.
ERR_UnderspecifiedExtension
, "P").WithArguments("T").WithLocation(5, 20));
3155
Diagnostic(ErrorCode.
ERR_UnderspecifiedExtension
, "-").WithArguments("T").WithLocation(6, 36));
3181
Diagnostic(ErrorCode.
ERR_UnderspecifiedExtension
, "-=").WithArguments("T").WithLocation(6, 30));
3203
Diagnostic(ErrorCode.
ERR_UnderspecifiedExtension
, "string").WithArguments("T").WithLocation(5, 41),
3233
Diagnostic(ErrorCode.
ERR_UnderspecifiedExtension
, "this").WithArguments("T").WithLocation(5, 20),
38208
Diagnostic(ErrorCode.
ERR_UnderspecifiedExtension
, "Property").WithArguments("U").WithLocation(7, 20));
39998
Diagnostic(ErrorCode.
ERR_UnderspecifiedExtension
, "P").WithArguments("T").WithLocation(9, 20),
40001
Diagnostic(ErrorCode.
ERR_UnderspecifiedExtension
, "P").WithArguments("U").WithLocation(9, 20));
Semantics\ExtensionTests2.cs (2)
35546
Diagnostic(ErrorCode.
ERR_UnderspecifiedExtension
, "Property").WithArguments("U").WithLocation(5, 20));
36528
Diagnostic(ErrorCode.
ERR_UnderspecifiedExtension
, "Property").WithArguments("T").WithLocation(7, 27));