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