14 references to ERR_MisplacedSlicePattern
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Patterns.cs (1)
212diagnostics.Add(ErrorCode.ERR_MisplacedSlicePattern, node.Location);
Errors\ErrorFacts.cs (1)
2234or ErrorCode.ERR_MisplacedSlicePattern
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (10)
Semantics\PatternMatchingTests_ListPatterns.cs (10)
461Diagnostic(ErrorCode.ERR_MisplacedSlicePattern, ".. var y").WithLocation(4, 16) 468Diagnostic(ErrorCode.ERR_MisplacedSlicePattern, ".. var y").WithLocation(4, 16) 1571Diagnostic(ErrorCode.ERR_MisplacedSlicePattern, "..").WithLocation(6, 23), 1574Diagnostic(ErrorCode.ERR_MisplacedSlicePattern, "..").WithLocation(7, 29), 1577Diagnostic(ErrorCode.ERR_MisplacedSlicePattern, "..").WithLocation(8, 20), 1580Diagnostic(ErrorCode.ERR_MisplacedSlicePattern, "..").WithLocation(9, 18), 1583Diagnostic(ErrorCode.ERR_MisplacedSlicePattern, "..").WithLocation(11, 24), 1586Diagnostic(ErrorCode.ERR_MisplacedSlicePattern, "..").WithLocation(12, 27) 5311Diagnostic(ErrorCode.ERR_MisplacedSlicePattern, "..").WithLocation(16, 24) 8947Diagnostic(ErrorCode.ERR_MisplacedSlicePattern, ".. 1").WithLocation(9, 24),
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),