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