4 writes to Value
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (4)
5410Value = str; 5846Value = Value.Slice(0, i + 1); 5872Value = result; 5899Value = result;
73 references to Value
System.Private.CoreLib (73)
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\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (66)
411if (target.Length > (str.Value.Length - str.Index)) 416if (str.CompareInfo.Compare(str.Value.Slice(str.Index, target.Length), target, CompareOptions.IgnoreCase) != 0) 423if (nextCharIndex < str.Value.Length) 425char nextCh = str.Value[nextCharIndex]; 434str.m_current = str.Value[str.Index]; 573char nextCh = str.Value[str.Index]; 579nextCh = str.Value[str.Index + whitespaceCount]; 618Trace($"Lex({Hex(str.Value)})\tpos:{str.Index}({Hex(str.m_current)}), {tokenType}, DS.{dps}"); 648char nextCh = str.Value[str.Index]; 1177char ch = str.Value[str.Index]; 1184ch = str.Value[i]; 1233if (str.Value.Slice(str.Index + 1).ContainsAnyExcept('\0')) 3354ReadOnlySpan<char> span = str.Value.Slice(str.Index); 3455ReadOnlySpan<char> span = str.Value.Slice(str.Index); 3556ReadOnlySpan<char> span = str.Value.Slice(str.Index); 3623ReadOnlySpan<char> span = str.Value.Slice(str.Index); 4092if (!MatchAbbreviatedMonthName(ref str, dtfi, ref tempMonth, format.Value)) 4100if (!MatchMonthName(ref str, dtfi, ref tempMonth, format.Value)) 4384if (!TryParseQuoteString(format.Value, format.Index, ref enquotedString, out tokenLen)) 4432if (format.Index >= format.Value.Length - 1 || format.Value[format.Index + 1] == '%') 4434result.SetBadFormatSpecifierFailure(format.Value); 4453result.SetBadFormatSpecifierFailure(format.Value); 4667if (str.Index < str.Value.Length - 1) 5390internal int Length => Value.Length; 5433m_current = Value[Index]; 5450m_current = Value[Index]; 5479m_current = Value[Index]; 5510m_current = Value[Index]; 5533m_current = Value[Index]; 5579m_info.Compare(Value.Slice(Index, target.Length), target, CompareOptions.IgnoreCase) == 0; 5583int valueRemaining = Value.Length - Index; 5586if (matchLength > valueRemaining || m_info.Compare(Value.Slice(Index, matchLength), target, CompareOptions.IgnoreCase) != 0) 5601if (thisPosition >= Value.Length - segmentLength) 5614if (!char.IsWhiteSpace(Value[thisPosition + segmentLength])) 5618if (m_info.CompareOptionIgnoreCase(Value.Slice(thisPosition, segmentLength), target.AsSpan(targetPosition, segmentLength)) != 0) 5629while (thisPosition < Value.Length && char.IsWhiteSpace(Value[thisPosition])) 5647if (thisPosition > Value.Length - segmentLength) 5651if (m_info.CompareOptionIgnoreCase(Value.Slice(thisPosition, segmentLength), target.AsSpan(targetPosition, segmentLength)) != 0) 5661if (nextCharIndex < Value.Length) 5663if (char.IsLetter(Value[nextCharIndex])) 5680if (++Index < Length && Value.Slice(Index).StartsWith(str)) 5698if ((Value[Index] == ch) || 5699(ch == ' ' && IsSpaceReplacingChar(Value[Index]))) 5748char repeatChar = Value[Index]; 5750while ((pos < Length) && (Value[pos] == repeatChar)) 5766char.IsAsciiDigit(Value[Index]); 5774return Value[Index]; 5783Debug.Assert(char.IsAsciiDigit(Value[Index]), "IsDigit(Value[Index])"); 5784return Value[Index] - '0'; 5798char ch = Value[Index + 1]; 5829m_current = Value[Index]; 5842while (i >= 0 && char.IsWhiteSpace(Value[i])) 5846Value = Value.Slice(0, i + 1); 5858char ch = Value[i]; 5862if (char.IsWhiteSpace(Value[i - 1])) 5865while (i >= 1 && char.IsWhiteSpace(Value[i - 1])) 5871Value.Slice(0, i).CopyTo(result); 5886char ch = Value[i]; 5890while ((i + 1) < Length && char.IsWhiteSpace(Value[i + 1])) 5896Span<char> result = new char[Value.Length - i]; 5898Value.Slice(i + 1).CopyTo(result.Slice(1)); 5908sub.s = Value; 5912char ch = Value[Index + sub.length]; 5962m_current = Value[Index];