8 references to ERR_InterpolatedStringHandlerCreationCannotUseDynamic
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_InterpolatedString.cs (1)
804
diagnostics.Add(ErrorCode.
ERR_InterpolatedStringHandlerCreationCannotUseDynamic
, syntax.Location, interpolatedStringHandlerType.Name);
Errors\ErrorFacts.cs (1)
2208
or ErrorCode.
ERR_InterpolatedStringHandlerCreationCannotUseDynamic
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (2)
IOperation\IOperationTests_IInterpolatedStringOperation.cs (2)
4489
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerCreationCannotUseDynamic
, @"$""{1}literal""").WithArguments("CustomHandler").WithLocation(4, 16)
4587
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerCreationCannotUseDynamic
, @"$""{1}literal""").WithArguments("CustomHandler").WithLocation(9, 15)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\InterpolationTests.cs (2)
13878
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerCreationCannotUseDynamic
, expression).WithArguments("CustomHandler").WithLocation(4, 6)
13907
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerCreationCannotUseDynamic
, expression).WithArguments("CustomHandler").WithLocation(4, 6)
Semantics\RawInterpolationTests_Handler.cs (2)
10485
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerCreationCannotUseDynamic
, expression).WithArguments("CustomHandler").WithLocation(4, 6));
10519
Diagnostic(ErrorCode.
ERR_InterpolatedStringHandlerCreationCannotUseDynamic
, expression).WithArguments("CustomHandler").WithLocation(4, 6));