10 references to ERR_InvalidInterpolatedStringHandlerArgumentName
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2200
or ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
Symbols\Source\SourceComplexParameterSymbol.cs (1)
1356
diagnostics.Add(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, arguments.AttributeSyntaxOpt.Location, name, ContainingSymbol);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
Semantics\InterpolationTests.cs (4)
6925
Diagnostic(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, @"InterpolatedStringHandlerArgumentAttribute(""NonExistant"")").WithArguments("NonExistant", "C.M(CustomHandler)").WithLocation(8, 27)
7000
Diagnostic(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, @"InterpolatedStringHandlerArgumentAttribute(""i"", ""NonExistant"")").WithArguments("NonExistant", "C.M(int, CustomHandler)").WithLocation(8, 34)
7075
Diagnostic(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, @"InterpolatedStringHandlerArgumentAttribute(""NonExistant1"", ""NonExistant2"")").WithArguments("NonExistant1", "C.M(int, CustomHandler)").WithLocation(8, 34),
7078
Diagnostic(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, @"InterpolatedStringHandlerArgumentAttribute(""NonExistant1"", ""NonExistant2"")").WithArguments("NonExistant2", "C.M(int, CustomHandler)").WithLocation(8, 34)
Semantics\RawInterpolationTests_Handler.cs (4)
5190
Diagnostic(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, @"InterpolatedStringHandlerArgumentAttribute(""NonExistant"")").WithArguments("NonExistant", "C.M(CustomHandler)").WithLocation(expression.Contains('+') ? 12 : 10, 27));
5277
Diagnostic(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, @"InterpolatedStringHandlerArgumentAttribute(""i"", ""NonExistant"")").WithArguments("NonExistant", "C.M(int, CustomHandler)").WithLocation(expression.Contains('+') ? 12 : 10, 34));
5364
Diagnostic(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, @"InterpolatedStringHandlerArgumentAttribute(""NonExistant1"", ""NonExistant2"")").WithArguments("NonExistant1", "C.M(int, CustomHandler)").WithLocation(expression.Contains('+') ? 12 : 10, 34),
5367
Diagnostic(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, @"InterpolatedStringHandlerArgumentAttribute(""NonExistant1"", ""NonExistant2"")").WithArguments("NonExistant2", "C.M(int, CustomHandler)").WithLocation(expression.Contains('+') ? 12 : 10, 34));