7 references to ERR_TypeIsNotAnInterpolatedStringHandlerType
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2201or ErrorCode.ERR_TypeIsNotAnInterpolatedStringHandlerType
Symbols\Source\SourceComplexParameterSymbol.cs (1)
1247diagnostics.Add(ErrorCode.ERR_TypeIsNotAnInterpolatedStringHandlerType, arguments.AttributeSyntaxOpt.Location, Type);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\InterpolationTests.cs (3)
6832Diagnostic(ErrorCode.ERR_TypeIsNotAnInterpolatedStringHandlerType, "InterpolatedStringHandlerArgumentAttribute").WithArguments("string").WithLocation(8, 27) 7610Diagnostic(ErrorCode.ERR_TypeIsNotAnInterpolatedStringHandlerType, "InterpolatedStringHandlerArgumentAttribute").WithArguments("T").WithLocation(8, 27) 17340Diagnostic(ErrorCode.ERR_TypeIsNotAnInterpolatedStringHandlerType, "InterpolatedStringHandlerArgument(nameof(s))").WithArguments("CustomHandler[]").WithLocation(8, 19)
Semantics\RawInterpolationTests_Handler.cs (2)
5085Diagnostic(ErrorCode.ERR_TypeIsNotAnInterpolatedStringHandlerType, "InterpolatedStringHandlerArgumentAttribute").WithArguments("string").WithLocation(expression.Contains('+') ? 12 : 10, 27)); 5900Diagnostic(ErrorCode.ERR_TypeIsNotAnInterpolatedStringHandlerType, "InterpolatedStringHandlerArgumentAttribute").WithArguments("T").WithLocation(expression.Contains('+') ? 12 : 10, 27));