14 references to ERR_MisplacedSlicePattern
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Patterns.cs (1)
211diagnostics.Add(ErrorCode.ERR_MisplacedSlicePattern, node.Location);
Errors\ErrorFacts.cs (1)
2177case ErrorCode.ERR_MisplacedSlicePattern:
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (10)
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) 5314Diagnostic(ErrorCode.ERR_MisplacedSlicePattern, "..").WithLocation(16, 24) 8919Diagnostic(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),