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