4 references to ERR_CannotUseSelfAsInterpolatedStringHandlerArgument
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2203
or ErrorCode.
ERR_CannotUseSelfAsInterpolatedStringHandlerArgument
Symbols\Source\SourceComplexParameterSymbol.cs (1)
1363
diagnostics.Add(ErrorCode.
ERR_CannotUseSelfAsInterpolatedStringHandlerArgument
, arguments.AttributeSyntaxOpt.Location);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\InterpolationTests.cs (1)
7153
Diagnostic(ErrorCode.
ERR_CannotUseSelfAsInterpolatedStringHandlerArgument
, @"InterpolatedStringHandlerArgumentAttribute(""c"")").WithLocation(8, 34)
Semantics\RawInterpolationTests_Handler.cs (1)
5454
Diagnostic(ErrorCode.
ERR_CannotUseSelfAsInterpolatedStringHandlerArgument
, @"InterpolatedStringHandlerArgumentAttribute(""c"")").WithLocation(expression.Contains('+') ? 12 : 10, 34));