4 writes to Value
System.Private.CoreLib (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (4)
5536
Value
= str;
5972
Value
= Value.Slice(0, i + 1);
5998
Value
= result;
6025
Value
= result;
73 references to Value
System.Private.CoreLib (73)
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 (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];
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);
3884
if (str.Index + 1 >= str.Length || str.
Value
[str.Index + 1] != designator[1])
4179
if (!MatchAbbreviatedMonthName(ref str, dtfi, ref tempMonth, format.
Value
))
4187
if (!MatchMonthName(ref str, dtfi, ref tempMonth, format.
Value
))
4471
if (!TryParseQuoteString(format.
Value
, format.Index, ref enquotedString, out tokenLen))
4519
if (format.Index >= format.
Value
.Length - 1 || format.
Value
[format.Index + 1] == '%')
4521
result.SetBadFormatSpecifierFailure(format.
Value
);
4540
result.SetBadFormatSpecifierFailure(format.
Value
);
4754
if (str.Index < str.
Value
.Length - 1)
5516
internal int Length =>
Value
.Length;
5559
m_current =
Value
[Index];
5576
m_current =
Value
[Index];
5605
m_current =
Value
[Index];
5636
m_current =
Value
[Index];
5659
m_current =
Value
[Index];
5705
m_info.Compare(
Value
.Slice(Index, target.Length), target, CompareOptions.IgnoreCase) == 0;
5709
int valueRemaining =
Value
.Length - Index;
5712
if (matchLength > valueRemaining || m_info.Compare(
Value
.Slice(Index, matchLength), target, CompareOptions.IgnoreCase) != 0)
5727
if (thisPosition >=
Value
.Length - segmentLength)
5740
if (!char.IsWhiteSpace(
Value
[thisPosition + segmentLength]))
5744
if (m_info.CompareOptionIgnoreCase(
Value
.Slice(thisPosition, segmentLength), target.AsSpan(targetPosition, segmentLength)) != 0)
5755
while (thisPosition <
Value
.Length && char.IsWhiteSpace(
Value
[thisPosition]))
5773
if (thisPosition >
Value
.Length - segmentLength)
5777
if (m_info.CompareOptionIgnoreCase(
Value
.Slice(thisPosition, segmentLength), target.AsSpan(targetPosition, segmentLength)) != 0)
5787
if (nextCharIndex <
Value
.Length)
5789
if (char.IsLetter(
Value
[nextCharIndex]))
5806
if (++Index < Length &&
Value
.Slice(Index).StartsWith(str))
5824
if ((
Value
[Index] == ch) ||
5825
(ch == ' ' && IsSpaceReplacingChar(
Value
[Index])))
5874
char repeatChar =
Value
[Index];
5876
while ((pos < Length) && (
Value
[pos] == repeatChar))
5892
char.IsAsciiDigit(
Value
[Index]);
5900
return
Value
[Index];
5909
Debug.Assert(char.IsAsciiDigit(
Value
[Index]), "IsDigit(Value[Index])");
5910
return
Value
[Index] - '0';
5924
char ch =
Value
[Index + 1];
5955
m_current =
Value
[Index];
5968
while (i >= 0 && char.IsWhiteSpace(
Value
[i]))
5972
Value =
Value
.Slice(0, i + 1);
5984
char ch =
Value
[i];
5988
if (char.IsWhiteSpace(
Value
[i - 1]))
5991
while (i >= 1 && char.IsWhiteSpace(
Value
[i - 1]))
5997
Value
.Slice(0, i).CopyTo(result);
6012
char ch =
Value
[i];
6016
while ((i + 1) < Length && char.IsWhiteSpace(
Value
[i + 1]))
6022
Span<char> result = new char[
Value
.Length - i];
6024
Value
.Slice(i + 1).CopyTo(result.Slice(1));
6034
sub.s =
Value
;
6038
char ch =
Value
[Index + sub.length];
6088
m_current =
Value
[Index];