14 references to ERR_PointerTypeInPatternMatching
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Patterns.cs (3)
728diagnostics.Add(ErrorCode.ERR_PointerTypeInPatternMatching, typeSyntax.Location); 958diagnostics.Add(ErrorCode.ERR_PointerTypeInPatternMatching, node.Location); 1317diagnostics.Add(ErrorCode.ERR_PointerTypeInPatternMatching, node.Location);
Errors\ErrorFacts.cs (1)
1881case ErrorCode.ERR_PointerTypeInPatternMatching:
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (7)
Semantics\PatternMatchingTests.cs (1)
6188Diagnostic(ErrorCode.ERR_PointerTypeInPatternMatching, "object").WithLocation(10, 23)
Semantics\PatternMatchingTests3.cs (2)
1235Diagnostic(ErrorCode.ERR_PointerTypeInPatternMatching, "var _").WithLocation(7, 29), 1241Diagnostic(ErrorCode.ERR_PointerTypeInPatternMatching, "var _").WithLocation(20, 18)
Semantics\PatternMatchingTests4.cs (4)
3435Diagnostic(ErrorCode.ERR_PointerTypeInPatternMatching, "{}").WithLocation(5, 18), 3444Diagnostic(ErrorCode.ERR_PointerTypeInPatternMatching, "var (x, y)").WithLocation(7, 18) 3470Diagnostic(ErrorCode.ERR_PointerTypeInPatternMatching, "{ }").WithLocation(11, 24) 3783Diagnostic(ErrorCode.ERR_PointerTypeInPatternMatching, "var v").WithLocation(7, 20)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\FunctionPointerTests.cs (3)
3406Diagnostic(ErrorCode.ERR_PointerTypeInPatternMatching, "var (x)").WithLocation(8, 20) 3448Diagnostic(ErrorCode.ERR_PointerTypeInPatternMatching, "{ } _").WithLocation(6, 20) 3555Diagnostic(ErrorCode.ERR_PointerTypeInPatternMatching, "delegate*<void>").WithLocation(7, 23)