4 writes to Value
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (4)
5412
Value
= str;
5848
Value
= Value.Slice(0, i + 1);
5874
Value
= result;
5901
Value
= result;
73 references to Value
System.Private.CoreLib (73)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormatInfo.cs (7)
2234
if (!HebrewNumber.IsDigit(str.
Value
[i]))
2246
state = HebrewNumber.ParseByChar(str.
Value
[i++], ref context);
2254
} while (i < str.
Value
.Length && (state != HebrewNumberParsingState.FoundEndOfHebrewNumber));
2306
Debug.Assert(str.Index < str.
Value
.Length, "DateTimeFormatInfo.Tokenize(): start < value.Length");
2360
char nextCh = str.
Value
[nextCharIndex];
2366
((value.tokenString.Length == 1 && str.
Value
[str.Index] == value.tokenString[0]) ||
2367
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)
411
if (target.Length > (str.
Value
.Length - str.Index))
416
if (str.CompareInfo.Compare(str.
Value
.Slice(str.Index, target.Length), target, CompareOptions.IgnoreCase) != 0)
423
if (nextCharIndex < str.
Value
.Length)
425
char nextCh = str.
Value
[nextCharIndex];
434
str.m_current = str.
Value
[str.Index];
573
char nextCh = str.
Value
[str.Index];
579
nextCh = str.
Value
[str.Index + whitespaceCount];
618
Trace($"Lex({Hex(str.
Value
)})\tpos:{str.Index}({Hex(str.m_current)}), {tokenType}, DS.{dps}");
648
char nextCh = str.
Value
[str.Index];
1177
char ch = str.
Value
[str.Index];
1184
ch = str.
Value
[i];
1233
if (str.
Value
.Slice(str.Index + 1).ContainsAnyExcept('\0'))
3354
ReadOnlySpan<char> span = str.
Value
.Slice(str.Index);
3455
ReadOnlySpan<char> span = str.
Value
.Slice(str.Index);
3556
ReadOnlySpan<char> span = str.
Value
.Slice(str.Index);
3623
ReadOnlySpan<char> span = str.
Value
.Slice(str.Index);
4092
if (!MatchAbbreviatedMonthName(ref str, dtfi, ref tempMonth, format.
Value
))
4100
if (!MatchMonthName(ref str, dtfi, ref tempMonth, format.
Value
))
4384
if (!TryParseQuoteString(format.
Value
, format.Index, ref enquotedString, out tokenLen))
4432
if (format.Index >= format.
Value
.Length - 1 || format.
Value
[format.Index + 1] == '%')
4434
result.SetBadFormatSpecifierFailure(format.
Value
);
4453
result.SetBadFormatSpecifierFailure(format.
Value
);
4669
if (str.Index < str.
Value
.Length - 1)
5392
internal int Length =>
Value
.Length;
5435
m_current =
Value
[Index];
5452
m_current =
Value
[Index];
5481
m_current =
Value
[Index];
5512
m_current =
Value
[Index];
5535
m_current =
Value
[Index];
5581
m_info.Compare(
Value
.Slice(Index, target.Length), target, CompareOptions.IgnoreCase) == 0;
5585
int valueRemaining =
Value
.Length - Index;
5588
if (matchLength > valueRemaining || m_info.Compare(
Value
.Slice(Index, matchLength), target, CompareOptions.IgnoreCase) != 0)
5603
if (thisPosition >=
Value
.Length - segmentLength)
5616
if (!char.IsWhiteSpace(
Value
[thisPosition + segmentLength]))
5620
if (m_info.CompareOptionIgnoreCase(
Value
.Slice(thisPosition, segmentLength), target.AsSpan(targetPosition, segmentLength)) != 0)
5631
while (thisPosition <
Value
.Length && char.IsWhiteSpace(
Value
[thisPosition]))
5649
if (thisPosition >
Value
.Length - segmentLength)
5653
if (m_info.CompareOptionIgnoreCase(
Value
.Slice(thisPosition, segmentLength), target.AsSpan(targetPosition, segmentLength)) != 0)
5663
if (nextCharIndex <
Value
.Length)
5665
if (char.IsLetter(
Value
[nextCharIndex]))
5682
if (++Index < Length &&
Value
.Slice(Index).StartsWith(str))
5700
if ((
Value
[Index] == ch) ||
5701
(ch == ' ' && IsSpaceReplacingChar(
Value
[Index])))
5750
char repeatChar =
Value
[Index];
5752
while ((pos < Length) && (
Value
[pos] == repeatChar))
5768
char.IsAsciiDigit(
Value
[Index]);
5776
return
Value
[Index];
5785
Debug.Assert(char.IsAsciiDigit(
Value
[Index]), "IsDigit(Value[Index])");
5786
return
Value
[Index] - '0';
5800
char ch =
Value
[Index + 1];
5831
m_current =
Value
[Index];
5844
while (i >= 0 && char.IsWhiteSpace(
Value
[i]))
5848
Value =
Value
.Slice(0, i + 1);
5860
char ch =
Value
[i];
5864
if (char.IsWhiteSpace(
Value
[i - 1]))
5867
while (i >= 1 && char.IsWhiteSpace(
Value
[i - 1]))
5873
Value
.Slice(0, i).CopyTo(result);
5888
char ch =
Value
[i];
5892
while ((i + 1) < Length && char.IsWhiteSpace(
Value
[i + 1]))
5898
Span<char> result = new char[
Value
.Length - i];
5900
Value
.Slice(i + 1).CopyTo(result.Slice(1));
5910
sub.s =
Value
;
5914
char ch =
Value
[Index + sub.length];
5964
m_current =
Value
[Index];