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