5 references to ERR_InterceptorCannotBeGeneric
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
635
or ErrorCode.
ERR_InterceptorCannotBeGeneric
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
175
this._diagnostics.Add(ErrorCode.
ERR_InterceptorCannotBeGeneric
, attributeLocation, interceptor, method);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\InterceptorsTests.cs (2)
2258
Diagnostic(ErrorCode.
ERR_InterceptorCannotBeGeneric
, "InterceptsLocation").WithArguments("D.Interceptor1<T>(I1, string)", "System.Console.Write(string)").WithLocation(6, 6));
2946
Diagnostic(ErrorCode.
ERR_InterceptorCannotBeGeneric
, "InterceptsLocation").WithArguments("D.Interceptor1<T>()", "C.Original()").WithLocation(5, 6));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
2989
case ErrorCode.
ERR_InterceptorCannotBeGeneric
: