6 references to ERR_PatternDynamicType
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Patterns.cs (1)
751
Error(diagnostics, ErrorCode.
ERR_PatternDynamicType
, typeSyntax);
Errors\ErrorFacts.cs (1)
1760
case ErrorCode.
ERR_PatternDynamicType
:
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Semantics\PatternSwitchTests.cs (2)
2989
Diagnostic(ErrorCode.
ERR_PatternDynamicType
, "dynamic"),
2992
Diagnostic(ErrorCode.
ERR_PatternDynamicType
, "dynamic").WithLocation(12, 18)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (2)
IOperation\IOperationTests_IIsPatternExpression.cs (1)
147
Diagnostic(ErrorCode.
ERR_PatternDynamicType
, "dynamic").WithLocation(7, 28)
IOperation\IOperationTests_IPatternSwitchCase.cs (1)
157
Diagnostic(ErrorCode.
ERR_PatternDynamicType
, "dynamic").WithLocation(9, 28)