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