15 references to ERR_MisplacedSlicePattern
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Patterns.cs (1)
223diagnostics.Add(ErrorCode.ERR_MisplacedSlicePattern, node.Location);
Errors\ErrorFacts.cs (1)
2233or ErrorCode.ERR_MisplacedSlicePattern
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (11)
Semantics\PatternMatchingTests_ListPatterns.cs (10)
462Diagnostic(ErrorCode.ERR_MisplacedSlicePattern, ".. var y").WithLocation(4, 16) 469Diagnostic(ErrorCode.ERR_MisplacedSlicePattern, ".. var y").WithLocation(4, 16) 1572Diagnostic(ErrorCode.ERR_MisplacedSlicePattern, "..").WithLocation(6, 23), 1575Diagnostic(ErrorCode.ERR_MisplacedSlicePattern, "..").WithLocation(7, 29), 1578Diagnostic(ErrorCode.ERR_MisplacedSlicePattern, "..").WithLocation(8, 20), 1581Diagnostic(ErrorCode.ERR_MisplacedSlicePattern, "..").WithLocation(9, 18), 1584Diagnostic(ErrorCode.ERR_MisplacedSlicePattern, "..").WithLocation(11, 24), 1587Diagnostic(ErrorCode.ERR_MisplacedSlicePattern, "..").WithLocation(12, 27) 5411Diagnostic(ErrorCode.ERR_MisplacedSlicePattern, "..").WithLocation(16, 24) 9135Diagnostic(ErrorCode.ERR_MisplacedSlicePattern, ".. 1").WithLocation(9, 24),
Semantics\PatternMatchingTests4.cs (1)
7701Diagnostic(ErrorCode.ERR_MisplacedSlicePattern, "..").WithLocation(8, 49));
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (2)
IOperation\IOperationTests_IIsPatternExpression.cs (2)
2434Diagnostic(ErrorCode.ERR_MisplacedSlicePattern, "..").WithLocation(6, 28) 2472Diagnostic(ErrorCode.ERR_MisplacedSlicePattern, ".. 42").WithLocation(6, 28),