4 writes to Value
System.Private.CoreLib (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (4)
5517Value = str; 5953Value = Value.Slice(0, i + 1); 5979Value = result; 6006Value = result;
72 references to Value
System.Private.CoreLib (72)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormatInfo.cs (7)
2228if (!HebrewNumber.IsDigit(str.Value[i])) 2240state = HebrewNumber.ParseByChar(str.Value[i++], ref context); 2248} while (i < str.Value.Length && (state != HebrewNumberParsingState.FoundEndOfHebrewNumber)); 2300Debug.Assert(str.Index < str.Value.Length, "DateTimeFormatInfo.Tokenize(): start < value.Length"); 2354char nextCh = str.Value[nextCharIndex]; 2360((value.tokenString.Length == 1 && str.Value[str.Index] == value.tokenString[0]) || 2361Culture.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)
421if (target.Length > (str.Value.Length - str.Index)) 426if (str.CompareInfo.Compare(str.Value.Slice(str.Index, target.Length), target, CompareOptions.IgnoreCase) != 0) 433if (nextCharIndex < str.Value.Length) 435char nextCh = str.Value[nextCharIndex]; 444str.m_current = str.Value[str.Index]; 583char nextCh = str.Value[str.Index]; 589nextCh = str.Value[str.Index + whitespaceCount]; 658char nextCh = str.Value[str.Index]; 1183char ch = str.Value[str.Index]; 1190ch = str.Value[i]; 1239if (str.Value.Slice(str.Index + 1).ContainsAnyExcept('\0')) 3410ReadOnlySpan<char> span = str.Value.Slice(str.Index); 3511ReadOnlySpan<char> span = str.Value.Slice(str.Index); 3612ReadOnlySpan<char> span = str.Value.Slice(str.Index); 3679ReadOnlySpan<char> span = str.Value.Slice(str.Index); 4160if (!MatchAbbreviatedMonthName(ref str, dtfi, ref tempMonth, format.Value)) 4168if (!MatchMonthName(ref str, dtfi, ref tempMonth, format.Value)) 4452if (!TryParseQuoteString(format.Value, format.Index, ref enquotedString, out tokenLen)) 4500if (format.Index >= format.Value.Length - 1 || format.Value[format.Index + 1] == '%') 4502result.SetBadFormatSpecifierFailure(format.Value); 4521result.SetBadFormatSpecifierFailure(format.Value); 4735if (str.Index < str.Value.Length - 1) 5497internal int Length => Value.Length; 5540m_current = Value[Index]; 5557m_current = Value[Index]; 5586m_current = Value[Index]; 5617m_current = Value[Index]; 5640m_current = Value[Index]; 5686m_info.Compare(Value.Slice(Index, target.Length), target, CompareOptions.IgnoreCase) == 0; 5690int valueRemaining = Value.Length - Index; 5693if (matchLength > valueRemaining || m_info.Compare(Value.Slice(Index, matchLength), target, CompareOptions.IgnoreCase) != 0) 5708if (thisPosition >= Value.Length - segmentLength) 5721if (!char.IsWhiteSpace(Value[thisPosition + segmentLength])) 5725if (m_info.CompareOptionIgnoreCase(Value.Slice(thisPosition, segmentLength), target.AsSpan(targetPosition, segmentLength)) != 0) 5736while (thisPosition < Value.Length && char.IsWhiteSpace(Value[thisPosition])) 5754if (thisPosition > Value.Length - segmentLength) 5758if (m_info.CompareOptionIgnoreCase(Value.Slice(thisPosition, segmentLength), target.AsSpan(targetPosition, segmentLength)) != 0) 5768if (nextCharIndex < Value.Length) 5770if (char.IsLetter(Value[nextCharIndex])) 5787if (++Index < Length && Value.Slice(Index).StartsWith(str)) 5805if ((Value[Index] == ch) || 5806(ch == ' ' && IsSpaceReplacingChar(Value[Index]))) 5855char repeatChar = Value[Index]; 5857while ((pos < Length) && (Value[pos] == repeatChar)) 5873char.IsAsciiDigit(Value[Index]); 5881return Value[Index]; 5890Debug.Assert(char.IsAsciiDigit(Value[Index]), "IsDigit(Value[Index])"); 5891return Value[Index] - '0'; 5905char ch = Value[Index + 1]; 5936m_current = Value[Index]; 5949while (i >= 0 && char.IsWhiteSpace(Value[i])) 5953Value = Value.Slice(0, i + 1); 5965char ch = Value[i]; 5969if (char.IsWhiteSpace(Value[i - 1])) 5972while (i >= 1 && char.IsWhiteSpace(Value[i - 1])) 5978Value.Slice(0, i).CopyTo(result); 5993char ch = Value[i]; 5997while ((i + 1) < Length && char.IsWhiteSpace(Value[i + 1])) 6003Span<char> result = new char[Value.Length - i]; 6005Value.Slice(i + 1).CopyTo(result.Slice(1)); 6015sub.s = Value; 6019char ch = Value[Index + sub.length]; 6069m_current = Value[Index];