14 references to ERR_PointerTypeInPatternMatching
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Patterns.cs (3)
738diagnostics.Add(ErrorCode.ERR_PointerTypeInPatternMatching, typeSyntax.Location); 968diagnostics.Add(ErrorCode.ERR_PointerTypeInPatternMatching, node.Location); 1327diagnostics.Add(ErrorCode.ERR_PointerTypeInPatternMatching, node.Location);
Errors\ErrorFacts.cs (1)
1938or ErrorCode.ERR_PointerTypeInPatternMatching
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (7)
Semantics\PatternMatchingTests.cs (1)
6190Diagnostic(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)
3434Diagnostic(ErrorCode.ERR_PointerTypeInPatternMatching, "{}").WithLocation(5, 18), 3443Diagnostic(ErrorCode.ERR_PointerTypeInPatternMatching, "var (x, y)").WithLocation(7, 18) 3469Diagnostic(ErrorCode.ERR_PointerTypeInPatternMatching, "{ }").WithLocation(11, 24) 3834Diagnostic(ErrorCode.ERR_PointerTypeInPatternMatching, "var v").WithLocation(7, 20)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\FunctionPointerTests.cs (3)
3427Diagnostic(ErrorCode.ERR_PointerTypeInPatternMatching, "var (x)").WithLocation(8, 20) 3469Diagnostic(ErrorCode.ERR_PointerTypeInPatternMatching, "{ } _").WithLocation(6, 20) 3576Diagnostic(ErrorCode.ERR_PointerTypeInPatternMatching, "delegate*<void>").WithLocation(7, 23)