49 references to ERR_InterpolatedStringHandlerArgumentAttributeMalformed
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Expressions.cs (1)
3703
diagnostics.Add(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, unconvertedString.Syntax.Location, correspondingParameter, handlerType);
Errors\ErrorFacts.cs (1)
2204
or ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (1)
IOperation\IOperationTests_IInterpolatedStringOperation.cs (1)
4196
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""literal{c,1:format}""").WithArguments("CustomHandler c1", "CustomHandler").WithLocation(11, 25)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (46)
Semantics\InterpolationTests.cs (24)
6922
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 5),
6956
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 5),
6997
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
7031
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 8),
7072
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
7109
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 8),
7150
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
7184
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 5),
7225
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
7258
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
7292
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 8),
7332
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 8),
7372
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 8),
7412
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 8),
7453
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 5),
7489
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 5),
7530
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 11),
7566
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 11),
7607
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler t", "CustomHandler").WithLocation(4, 20),
7647
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 20),
17361
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 3),
17498
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(6, 3),
17530
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 3),
17832
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(5, 5),
Semantics\RawInterpolationTests_Handler.cs (22)
5187
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 5),
5222
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
5274
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
5309
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
5361
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
5399
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
5451
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
5486
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
5538
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
5573
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
5620
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
5667
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
5719
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 5),
5756
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
5808
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 11),
5845
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
5897
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler t", "CustomHandler").WithLocation(4, 20),
5938
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
12754
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
12898
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
12933
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
13247
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""