54 references to ERR_InterpolatedStringHandlerArgumentAttributeMalformed
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Expressions.cs (1)
3704
diagnostics.Add(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, unconvertedString.Syntax.Location, correspondingParameter, handlerType);
Errors\ErrorFacts.cs (1)
2204
or ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
Semantics\ExtensionTests.cs (5)
22401
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("InterpolationHandler i", "InterpolationHandler").WithLocation(2, 5),
22788
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("InterpolationHandler h", "InterpolationHandler").WithLocation(1, 18),
22797
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("InterpolationHandler h", "InterpolationHandler").WithLocation(2, 16),
22903
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("InterpolationHandler h", "InterpolationHandler").WithLocation(1, 18),
22912
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("InterpolationHandler h", "InterpolationHandler").WithLocation(2, 21),
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)
6923
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 5),
6957
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 5),
6998
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
7032
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 8),
7073
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
7110
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 8),
7151
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
7185
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 5),
7226
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
7259
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
7293
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 8),
7333
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 8),
7373
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 8),
7413
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 8),
7454
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 5),
7490
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 5),
7531
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 11),
7567
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 11),
7608
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler t", "CustomHandler").WithLocation(4, 20),
7648
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 20),
17364
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 3),
17501
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(6, 3),
17533
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 3),
17835
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(5, 5),
Semantics\RawInterpolationTests_Handler.cs (22)
5188
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 5),
5223
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
5275
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
5310
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
5362
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
5400
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
5452
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
5487
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
5539
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
5574
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
5621
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
5668
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
5720
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 5),
5757
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
5809
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 11),
5846
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
5898
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler t", "CustomHandler").WithLocation(4, 20),
5939
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
12756
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
12900
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
12935
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
13249
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""