5 references to ERR_InterceptorContainingTypeCannotBeGeneric
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2372or ErrorCode.ERR_InterceptorContainingTypeCannotBeGeneric
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
1384diagnostics.Add(ErrorCode.ERR_InterceptorContainingTypeCannotBeGeneric, attributeLocation, this);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\InterceptorsTests.cs (3)
2288Diagnostic(ErrorCode.ERR_InterceptorContainingTypeCannotBeGeneric, "InterceptsLocation").WithArguments("D<T>.Interceptor1(string)").WithLocation(6, 6)); 2333Diagnostic(ErrorCode.ERR_InterceptorContainingTypeCannotBeGeneric, "global::System.Runtime.CompilerServices.InterceptsLocationAttribute").WithArguments("D<T>.Interceptor1(string)").WithLocation(5, 6)); 2375Diagnostic(ErrorCode.ERR_InterceptorContainingTypeCannotBeGeneric, "InterceptsLocation").WithArguments("Outer<T>.D.Interceptor1(string)").WithLocation(8, 10)