4 references to ERR_CannotUseSelfAsInterpolatedStringHandlerArgument
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2146
case ErrorCode.
ERR_CannotUseSelfAsInterpolatedStringHandlerArgument
:
Symbols\Source\SourceComplexParameterSymbol.cs (1)
1357
diagnostics.Add(ErrorCode.
ERR_CannotUseSelfAsInterpolatedStringHandlerArgument
, errorLocation);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\InterpolationTests.cs (1)
7112
Diagnostic(ErrorCode.
ERR_CannotUseSelfAsInterpolatedStringHandlerArgument
, @"InterpolatedStringHandlerArgumentAttribute(""c"")").WithLocation(8, 34)
Semantics\RawInterpolationTests_Handler.cs (1)
5443
Diagnostic(ErrorCode.
ERR_CannotUseSelfAsInterpolatedStringHandlerArgument
, @"InterpolatedStringHandlerArgumentAttribute(""c"")").WithLocation(expression.Contains('+') ? 12 : 10, 34));