55 references to SetStartIndex
System.Text.RegularExpressions (55)
System\Text\RegularExpressions\RegexCharClass.cs (54)
429
int strLength =
SetStartIndex
+ set.Length + category.Length;
450
state.set.AsSpan(2).CopyTo(span.Slice(
SetStartIndex
));
451
index =
SetStartIndex
+ state.set.Length - 2;
458
state.set.AsSpan().CopyTo(span.Slice(
SetStartIndex
));
459
index =
SetStartIndex
+ state.set.Length;
472
return set[
SetStartIndex
];
498
(set[
SetStartIndex
] == LastChar || set[
SetStartIndex
] + 1 == set[
SetStartIndex
+ 1]);
505
(set[
SetStartIndex
] == LastChar || set[
SetStartIndex
] + 1 == set[
SetStartIndex
+ 1]);
530
int categoryEnd =
SetStartIndex
+ set[CategoryLengthIndex];
531
for (int pos =
SetStartIndex
; pos < categoryEnd; pos++)
634
set.Length ==
SetStartIndex
+ set[SetLengthIndex]) // and no subtraction
639
lowInclusive = set[
SetStartIndex
];
644
lowInclusive = set[
SetStartIndex
];
645
highInclusive = (char)(set[
SetStartIndex
+ 1] - 1);
665
set.Length ==
SetStartIndex
+ set[SetLengthIndex]) // and no subtraction
670
range0 = (set[
SetStartIndex
], (char)(set[
SetStartIndex
+ 1] - 1));
671
range1 = (set[
SetStartIndex
+ 2], setLength == 3 ? LastChar : (char)(set[
SetStartIndex
+ 3] - 1));
717
for (int i =
SetStartIndex
; i <
SetStartIndex
+ setLength; i += 2)
863
for (int i =
SetStartIndex
; i <
SetStartIndex
+ set2[SetLengthIndex]; i += 2)
984
set.Length >
SetStartIndex
&&
1037
char firstValueInclusive = set[
SetStartIndex
];
1038
char lastValueExclusive = set[
SetStartIndex
+ set[SetLengthIndex] - 1];
1052
ContainsNoAscii = firstValueInclusive == 0 && set[
SetStartIndex
+ 1] >= 128,
1065
AllAsciiContained = firstValueInclusive == 0 && set[
SetStartIndex
+ 1] >= 128 && !hasSubtraction,
1074
charClass.Length >
SetStartIndex
+
1157
for (int i =
SetStartIndex
; i <
SetStartIndex
+ set[SetLengthIndex]; i += 2)
1278
int endPosition = start +
SetStartIndex
+ setLength + categoryLength;
1304
int min = start +
SetStartIndex
;
1326
Debug.Assert((
SetStartIndex
& 0x1) == 1, "If SetStartIndex is not odd, the calculation below this will be reversed");
1337
return CharInCategory(ch, set.AsSpan(
SetStartIndex
+ start + setLength, categoryLength));
1436
int endPosition = start +
SetStartIndex
+ setLength + categoryLength;
1438
int i = start +
SetStartIndex
;
1462
int i =
SetStartIndex
;
1545
return string.Create(
SetStartIndex
+ count, tmpChars, static (span, chars) =>
1549
span[SetLengthIndex] = (char)(span.Length -
SetStartIndex
);
1551
int i =
SetStartIndex
;
1604
Span<char> headerSpan = vsb.AppendSpan(
SetStartIndex
);
1626
vsb[initialLength + SetLengthIndex] = (char)(vsb.Length - initialLength -
SetStartIndex
);
1842
int endPosition =
SetStartIndex
+ setLength + categoryLength;
1852
set[
SetStartIndex
] + 1 == set[
SetStartIndex
+ 1])
1854
return DescribeChar(set[
SetStartIndex
]);
1857
int index =
SetStartIndex
;
1864
int rangesEnd =
SetStartIndex
+ set[SetLengthIndex];
1919
while (index <
SetStartIndex
+ set[SetLengthIndex] + set[CategoryLengthIndex])
System\Text\RegularExpressions\Symbolic\RegexNodeConverter.cs (1)
383
int catStart = setLength + RegexCharClass.
SetStartIndex
;