49 references to ERR_InterpolatedStringHandlerArgumentAttributeMalformed
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_InterpolatedString.cs (1)
874
diagnostics.Add(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, unconvertedString.Syntax.Location, interpolatedStringParameter, interpolatedStringParameter.Type);
Errors\ErrorFacts.cs (1)
2147
case 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)
6881
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 5),
6915
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 5),
6956
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
6990
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 8),
7031
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
7068
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 8),
7109
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
7143
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 5),
7184
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
7217
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
7251
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 8),
7291
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 8),
7331
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 8),
7371
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 8),
7412
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 5),
7448
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 5),
7489
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 11),
7525
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 11),
7566
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler t", "CustomHandler").WithLocation(4, 20),
7606
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 20),
16352
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 3),
16489
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(6, 3),
16521
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 3),
16823
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(5, 5),
Semantics\RawInterpolationTests_Handler.cs (22)
5176
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 5),
5211
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
5263
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
5298
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
5350
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
5388
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
5440
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
5475
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
5527
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
5562
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
5609
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
5656
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
5708
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 5),
5745
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
5797
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 11),
5834
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
5886
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler t", "CustomHandler").WithLocation(4, 20),
5927
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
12722
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
12866
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
12901
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
13215
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""