6 references to ERR_TypeIsNotAnInterpolatedStringHandlerType
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2144
case ErrorCode.
ERR_TypeIsNotAnInterpolatedStringHandlerType
:
Symbols\Source\SourceComplexParameterSymbol.cs (1)
1241
diagnostics.Add(ErrorCode.
ERR_TypeIsNotAnInterpolatedStringHandlerType
, errorLocation, Type);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\InterpolationTests.cs (2)
6791
Diagnostic(ErrorCode.
ERR_TypeIsNotAnInterpolatedStringHandlerType
, "InterpolatedStringHandlerArgumentAttribute").WithArguments("string").WithLocation(8, 27)
7569
Diagnostic(ErrorCode.
ERR_TypeIsNotAnInterpolatedStringHandlerType
, "InterpolatedStringHandlerArgumentAttribute").WithArguments("T").WithLocation(8, 27)
Semantics\RawInterpolationTests_Handler.cs (2)
5074
Diagnostic(ErrorCode.
ERR_TypeIsNotAnInterpolatedStringHandlerType
, "InterpolatedStringHandlerArgumentAttribute").WithArguments("string").WithLocation(expression.Contains('+') ? 12 : 10, 27));
5889
Diagnostic(ErrorCode.
ERR_TypeIsNotAnInterpolatedStringHandlerType
, "InterpolatedStringHandlerArgumentAttribute").WithArguments("T").WithLocation(expression.Contains('+') ? 12 : 10, 27));