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