54 references to ERR_InterpolatedStringHandlerArgumentAttributeMalformed
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Expressions.cs (1)
3727
diagnostics.Add(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, unconvertedString.Syntax.Location, correspondingParameter, handlerType);
Errors\ErrorFacts.cs (1)
2202
or ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
Semantics\ExtensionTests.cs (5)
24066
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("InterpolationHandler i", "InterpolationHandler").WithLocation(2, 5),
24464
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("InterpolationHandler h", "InterpolationHandler").WithLocation(1, 18),
24473
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("InterpolationHandler h", "InterpolationHandler").WithLocation(2, 16),
24590
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("InterpolationHandler h", "InterpolationHandler").WithLocation(1, 18),
24599
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)
7054
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 5),
7088
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 5),
7129
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
7163
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 8),
7204
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
7241
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 8),
7282
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
7316
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 5),
7357
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
7390
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 8),
7424
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 8),
7464
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 8),
7504
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 8),
7544
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 8),
7585
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 5),
7621
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 5),
7662
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 11),
7698
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 11),
7739
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, expression).WithArguments("CustomHandler t", "CustomHandler").WithLocation(4, 20),
7779
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(1, 20),
17763
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 3),
17900
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(6, 3),
17932
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""").WithArguments("CustomHandler c", "CustomHandler").WithLocation(4, 3),
18234
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
, @"$""""""
12765
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
12909
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
12944
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""
13258
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerArgumentAttributeMalformed
, @"$""""""