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