10 references to ERR_InvalidInterpolatedStringHandlerArgumentName
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2143
case ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
:
Symbols\Source\SourceComplexParameterSymbol.cs (1)
1350
diagnostics.Add(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, arguments.AttributeSyntaxOpt.Location, name, ContainingSymbol);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
Semantics\InterpolationTests.cs (4)
6884
Diagnostic(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, @"InterpolatedStringHandlerArgumentAttribute(""NonExistant"")").WithArguments("NonExistant", "C.M(CustomHandler)").WithLocation(8, 27)
6959
Diagnostic(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, @"InterpolatedStringHandlerArgumentAttribute(""i"", ""NonExistant"")").WithArguments("NonExistant", "C.M(int, CustomHandler)").WithLocation(8, 34)
7034
Diagnostic(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, @"InterpolatedStringHandlerArgumentAttribute(""NonExistant1"", ""NonExistant2"")").WithArguments("NonExistant1", "C.M(int, CustomHandler)").WithLocation(8, 34),
7037
Diagnostic(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, @"InterpolatedStringHandlerArgumentAttribute(""NonExistant1"", ""NonExistant2"")").WithArguments("NonExistant2", "C.M(int, CustomHandler)").WithLocation(8, 34)
Semantics\RawInterpolationTests_Handler.cs (4)
5179
Diagnostic(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, @"InterpolatedStringHandlerArgumentAttribute(""NonExistant"")").WithArguments("NonExistant", "C.M(CustomHandler)").WithLocation(expression.Contains('+') ? 12 : 10, 27));
5266
Diagnostic(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, @"InterpolatedStringHandlerArgumentAttribute(""i"", ""NonExistant"")").WithArguments("NonExistant", "C.M(int, CustomHandler)").WithLocation(expression.Contains('+') ? 12 : 10, 34));
5353
Diagnostic(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, @"InterpolatedStringHandlerArgumentAttribute(""NonExistant1"", ""NonExistant2"")").WithArguments("NonExistant1", "C.M(int, CustomHandler)").WithLocation(expression.Contains('+') ? 12 : 10, 34),
5356
Diagnostic(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, @"InterpolatedStringHandlerArgumentAttribute(""NonExistant1"", ""NonExistant2"")").WithArguments("NonExistant2", "C.M(int, CustomHandler)").WithLocation(expression.Contains('+') ? 12 : 10, 34));