4 writes to Value
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (4)
5513
Value
= str;
5949
Value
= Value.Slice(0, i + 1);
5975
Value
= result;
6002
Value
= result;
73 references to Value
System.Private.CoreLib (73)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormatInfo.cs (7)
2228
if (!HebrewNumber.IsDigit(str.
Value
[i]))
2240
state = HebrewNumber.ParseByChar(str.
Value
[i++], ref context);
2248
} while (i < str.
Value
.Length && (state != HebrewNumberParsingState.FoundEndOfHebrewNumber));
2300
Debug.Assert(str.Index < str.
Value
.Length, "DateTimeFormatInfo.Tokenize(): start < value.Length");
2354
char nextCh = str.
Value
[nextCharIndex];
2360
((value.tokenString.Length == 1 && str.
Value
[str.Index] == value.tokenString[0]) ||
2361
Culture.CompareInfo.Compare(str.
Value
.Slice(str.Index, value.tokenString.Length), value.tokenString, CompareOptions.IgnoreCase) == 0))
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (66)
421
if (target.Length > (str.
Value
.Length - str.Index))
426
if (str.CompareInfo.Compare(str.
Value
.Slice(str.Index, target.Length), target, CompareOptions.IgnoreCase) != 0)
433
if (nextCharIndex < str.
Value
.Length)
435
char nextCh = str.
Value
[nextCharIndex];
444
str.m_current = str.
Value
[str.Index];
583
char nextCh = str.
Value
[str.Index];
589
nextCh = str.
Value
[str.Index + whitespaceCount];
628
Trace($"Lex({Hex(str.
Value
)})\tpos:{str.Index}({Hex(str.m_current)}), {tokenType}, DS.{dps}");
658
char nextCh = str.
Value
[str.Index];
1183
char ch = str.
Value
[str.Index];
1190
ch = str.
Value
[i];
1239
if (str.
Value
.Slice(str.Index + 1).ContainsAnyExcept('\0'))
3410
ReadOnlySpan<char> span = str.
Value
.Slice(str.Index);
3511
ReadOnlySpan<char> span = str.
Value
.Slice(str.Index);
3612
ReadOnlySpan<char> span = str.
Value
.Slice(str.Index);
3679
ReadOnlySpan<char> span = str.
Value
.Slice(str.Index);
4160
if (!MatchAbbreviatedMonthName(ref str, dtfi, ref tempMonth, format.
Value
))
4168
if (!MatchMonthName(ref str, dtfi, ref tempMonth, format.
Value
))
4452
if (!TryParseQuoteString(format.
Value
, format.Index, ref enquotedString, out tokenLen))
4500
if (format.Index >= format.
Value
.Length - 1 || format.
Value
[format.Index + 1] == '%')
4502
result.SetBadFormatSpecifierFailure(format.
Value
);
4521
result.SetBadFormatSpecifierFailure(format.
Value
);
4735
if (str.Index < str.
Value
.Length - 1)
5493
internal int Length =>
Value
.Length;
5536
m_current =
Value
[Index];
5553
m_current =
Value
[Index];
5582
m_current =
Value
[Index];
5613
m_current =
Value
[Index];
5636
m_current =
Value
[Index];
5682
m_info.Compare(
Value
.Slice(Index, target.Length), target, CompareOptions.IgnoreCase) == 0;
5686
int valueRemaining =
Value
.Length - Index;
5689
if (matchLength > valueRemaining || m_info.Compare(
Value
.Slice(Index, matchLength), target, CompareOptions.IgnoreCase) != 0)
5704
if (thisPosition >=
Value
.Length - segmentLength)
5717
if (!char.IsWhiteSpace(
Value
[thisPosition + segmentLength]))
5721
if (m_info.CompareOptionIgnoreCase(
Value
.Slice(thisPosition, segmentLength), target.AsSpan(targetPosition, segmentLength)) != 0)
5732
while (thisPosition <
Value
.Length && char.IsWhiteSpace(
Value
[thisPosition]))
5750
if (thisPosition >
Value
.Length - segmentLength)
5754
if (m_info.CompareOptionIgnoreCase(
Value
.Slice(thisPosition, segmentLength), target.AsSpan(targetPosition, segmentLength)) != 0)
5764
if (nextCharIndex <
Value
.Length)
5766
if (char.IsLetter(
Value
[nextCharIndex]))
5783
if (++Index < Length &&
Value
.Slice(Index).StartsWith(str))
5801
if ((
Value
[Index] == ch) ||
5802
(ch == ' ' && IsSpaceReplacingChar(
Value
[Index])))
5851
char repeatChar =
Value
[Index];
5853
while ((pos < Length) && (
Value
[pos] == repeatChar))
5869
char.IsAsciiDigit(
Value
[Index]);
5877
return
Value
[Index];
5886
Debug.Assert(char.IsAsciiDigit(
Value
[Index]), "IsDigit(Value[Index])");
5887
return
Value
[Index] - '0';
5901
char ch =
Value
[Index + 1];
5932
m_current =
Value
[Index];
5945
while (i >= 0 && char.IsWhiteSpace(
Value
[i]))
5949
Value =
Value
.Slice(0, i + 1);
5961
char ch =
Value
[i];
5965
if (char.IsWhiteSpace(
Value
[i - 1]))
5968
while (i >= 1 && char.IsWhiteSpace(
Value
[i - 1]))
5974
Value
.Slice(0, i).CopyTo(result);
5989
char ch =
Value
[i];
5993
while ((i + 1) < Length && char.IsWhiteSpace(
Value
[i + 1]))
5999
Span<char> result = new char[
Value
.Length - i];
6001
Value
.Slice(i + 1).CopyTo(result.Slice(1));
6011
sub.s =
Value
;
6015
char ch =
Value
[Index + sub.length];
6065
m_current =
Value
[Index];