12 references to ERR_InvalidInterpolatedStringHandlerArgumentName
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2200
or ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
Symbols\Source\SourceComplexParameterSymbol.cs (1)
1373
diagnostics.Add(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, arguments.AttributeSyntaxOpt.Location, name, ContainingSymbol);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Semantics\ExtensionTests.cs (2)
22225
Diagnostic(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, @"System.Runtime.CompilerServices.InterpolatedStringHandlerArgument(""nonexistent"")").WithArguments("nonexistent", "E.extension(int).M(InterpolationHandler)").WithLocation(17, 24)
22651
Diagnostic(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, @"System.Runtime.CompilerServices.InterpolatedStringHandlerArgument(""nonexistent"")").WithArguments("nonexistent", "E.extension(int).StaticMethod(InterpolationHandler)").WithLocation(16, 42)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
Semantics\InterpolationTests.cs (4)
6926
Diagnostic(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, @"InterpolatedStringHandlerArgumentAttribute(""NonExistant"")").WithArguments("NonExistant", "C.M(CustomHandler)").WithLocation(8, 27)
7001
Diagnostic(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, @"InterpolatedStringHandlerArgumentAttribute(""i"", ""NonExistant"")").WithArguments("NonExistant", "C.M(int, CustomHandler)").WithLocation(8, 34)
7076
Diagnostic(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, @"InterpolatedStringHandlerArgumentAttribute(""NonExistant1"", ""NonExistant2"")").WithArguments("NonExistant1", "C.M(int, CustomHandler)").WithLocation(8, 34),
7079
Diagnostic(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, @"InterpolatedStringHandlerArgumentAttribute(""NonExistant1"", ""NonExistant2"")").WithArguments("NonExistant2", "C.M(int, CustomHandler)").WithLocation(8, 34)
Semantics\RawInterpolationTests_Handler.cs (4)
5191
Diagnostic(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, @"InterpolatedStringHandlerArgumentAttribute(""NonExistant"")").WithArguments("NonExistant", "C.M(CustomHandler)").WithLocation(expression.Contains('+') ? 12 : 10, 27));
5278
Diagnostic(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, @"InterpolatedStringHandlerArgumentAttribute(""i"", ""NonExistant"")").WithArguments("NonExistant", "C.M(int, CustomHandler)").WithLocation(expression.Contains('+') ? 12 : 10, 34));
5365
Diagnostic(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, @"InterpolatedStringHandlerArgumentAttribute(""NonExistant1"", ""NonExistant2"")").WithArguments("NonExistant1", "C.M(int, CustomHandler)").WithLocation(expression.Contains('+') ? 12 : 10, 34),
5368
Diagnostic(ErrorCode.
ERR_InvalidInterpolatedStringHandlerArgumentName
, @"InterpolatedStringHandlerArgumentAttribute(""NonExistant1"", ""NonExistant2"")").WithArguments("NonExistant2", "C.M(int, CustomHandler)").WithLocation(expression.Contains('+') ? 12 : 10, 34));