4 writes to Value
System.Private.CoreLib (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (4)
5517
Value
= str;
5953
Value
= Value.Slice(0, i + 1);
5979
Value
= result;
6006
Value
= result;
72 references to Value
System.Private.CoreLib (72)
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (65)
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];
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)
5497
internal int Length =>
Value
.Length;
5540
m_current =
Value
[Index];
5557
m_current =
Value
[Index];
5586
m_current =
Value
[Index];
5617
m_current =
Value
[Index];
5640
m_current =
Value
[Index];
5686
m_info.Compare(
Value
.Slice(Index, target.Length), target, CompareOptions.IgnoreCase) == 0;
5690
int valueRemaining =
Value
.Length - Index;
5693
if (matchLength > valueRemaining || m_info.Compare(
Value
.Slice(Index, matchLength), target, CompareOptions.IgnoreCase) != 0)
5708
if (thisPosition >=
Value
.Length - segmentLength)
5721
if (!char.IsWhiteSpace(
Value
[thisPosition + segmentLength]))
5725
if (m_info.CompareOptionIgnoreCase(
Value
.Slice(thisPosition, segmentLength), target.AsSpan(targetPosition, segmentLength)) != 0)
5736
while (thisPosition <
Value
.Length && char.IsWhiteSpace(
Value
[thisPosition]))
5754
if (thisPosition >
Value
.Length - segmentLength)
5758
if (m_info.CompareOptionIgnoreCase(
Value
.Slice(thisPosition, segmentLength), target.AsSpan(targetPosition, segmentLength)) != 0)
5768
if (nextCharIndex <
Value
.Length)
5770
if (char.IsLetter(
Value
[nextCharIndex]))
5787
if (++Index < Length &&
Value
.Slice(Index).StartsWith(str))
5805
if ((
Value
[Index] == ch) ||
5806
(ch == ' ' && IsSpaceReplacingChar(
Value
[Index])))
5855
char repeatChar =
Value
[Index];
5857
while ((pos < Length) && (
Value
[pos] == repeatChar))
5873
char.IsAsciiDigit(
Value
[Index]);
5881
return
Value
[Index];
5890
Debug.Assert(char.IsAsciiDigit(
Value
[Index]), "IsDigit(Value[Index])");
5891
return
Value
[Index] - '0';
5905
char ch =
Value
[Index + 1];
5936
m_current =
Value
[Index];
5949
while (i >= 0 && char.IsWhiteSpace(
Value
[i]))
5953
Value =
Value
.Slice(0, i + 1);
5965
char ch =
Value
[i];
5969
if (char.IsWhiteSpace(
Value
[i - 1]))
5972
while (i >= 1 && char.IsWhiteSpace(
Value
[i - 1]))
5978
Value
.Slice(0, i).CopyTo(result);
5993
char ch =
Value
[i];
5997
while ((i + 1) < Length && char.IsWhiteSpace(
Value
[i + 1]))
6003
Span<char> result = new char[
Value
.Length - i];
6005
Value
.Slice(i + 1).CopyTo(result.Slice(1));
6015
sub.s =
Value
;
6019
char ch =
Value
[Index + sub.length];
6069
m_current =
Value
[Index];