4 writes to Value
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (4)
5412Value = str; 5848Value = Value.Slice(0, i + 1); 5874Value = result; 5901Value = result;
73 references to Value
System.Private.CoreLib (73)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormatInfo.cs (7)
2234if (!HebrewNumber.IsDigit(str.Value[i])) 2246state = HebrewNumber.ParseByChar(str.Value[i++], ref context); 2254} while (i < str.Value.Length && (state != HebrewNumberParsingState.FoundEndOfHebrewNumber)); 2306Debug.Assert(str.Index < str.Value.Length, "DateTimeFormatInfo.Tokenize(): start < value.Length"); 2360char nextCh = str.Value[nextCharIndex]; 2366((value.tokenString.Length == 1 && str.Value[str.Index] == value.tokenString[0]) || 2367Culture.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); 4669if (str.Index < str.Value.Length - 1) 5392internal int Length => Value.Length; 5435m_current = Value[Index]; 5452m_current = Value[Index]; 5481m_current = Value[Index]; 5512m_current = Value[Index]; 5535m_current = Value[Index]; 5581m_info.Compare(Value.Slice(Index, target.Length), target, CompareOptions.IgnoreCase) == 0; 5585int valueRemaining = Value.Length - Index; 5588if (matchLength > valueRemaining || m_info.Compare(Value.Slice(Index, matchLength), target, CompareOptions.IgnoreCase) != 0) 5603if (thisPosition >= Value.Length - segmentLength) 5616if (!char.IsWhiteSpace(Value[thisPosition + segmentLength])) 5620if (m_info.CompareOptionIgnoreCase(Value.Slice(thisPosition, segmentLength), target.AsSpan(targetPosition, segmentLength)) != 0) 5631while (thisPosition < Value.Length && char.IsWhiteSpace(Value[thisPosition])) 5649if (thisPosition > Value.Length - segmentLength) 5653if (m_info.CompareOptionIgnoreCase(Value.Slice(thisPosition, segmentLength), target.AsSpan(targetPosition, segmentLength)) != 0) 5663if (nextCharIndex < Value.Length) 5665if (char.IsLetter(Value[nextCharIndex])) 5682if (++Index < Length && Value.Slice(Index).StartsWith(str)) 5700if ((Value[Index] == ch) || 5701(ch == ' ' && IsSpaceReplacingChar(Value[Index]))) 5750char repeatChar = Value[Index]; 5752while ((pos < Length) && (Value[pos] == repeatChar)) 5768char.IsAsciiDigit(Value[Index]); 5776return Value[Index]; 5785Debug.Assert(char.IsAsciiDigit(Value[Index]), "IsDigit(Value[Index])"); 5786return Value[Index] - '0'; 5800char ch = Value[Index + 1]; 5831m_current = Value[Index]; 5844while (i >= 0 && char.IsWhiteSpace(Value[i])) 5848Value = Value.Slice(0, i + 1); 5860char ch = Value[i]; 5864if (char.IsWhiteSpace(Value[i - 1])) 5867while (i >= 1 && char.IsWhiteSpace(Value[i - 1])) 5873Value.Slice(0, i).CopyTo(result); 5888char ch = Value[i]; 5892while ((i + 1) < Length && char.IsWhiteSpace(Value[i + 1])) 5898Span<char> result = new char[Value.Length - i]; 5900Value.Slice(i + 1).CopyTo(result.Slice(1)); 5910sub.s = Value; 5914char ch = Value[Index + sub.length]; 5964m_current = Value[Index];