1 write to SegmentIndex
Microsoft.Extensions.FileSystemGlobbing (1)
Internal\PatternContexts\PatternContextLinear.cs (1)
61frame.SegmentIndex++;
6 references to SegmentIndex
Microsoft.Extensions.FileSystemGlobbing (6)
Internal\PatternContexts\PatternContextLinear.cs (4)
53IPathSegment segment = Pattern.Segments[Frame.SegmentIndex]; 83return Frame.SegmentIndex == Pattern.Segments.Count - 1; 88if (Frame.SegmentIndex >= Pattern.Segments.Count) 93return Pattern.Segments[Frame.SegmentIndex].Match(value);
Internal\PatternContexts\PatternContextLinearInclude.cs (2)
28if (Frame.SegmentIndex < Pattern.Segments.Count) 30onDeclare(Pattern.Segments[Frame.SegmentIndex], IsLastSegment());