4 writes to Value
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (4)
5513Value = str; 5949Value = Value.Slice(0, i + 1); 5975Value = result; 6002Value = 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)
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]; 628Trace($"Lex({Hex(str.Value)})\tpos:{str.Index}({Hex(str.m_current)}), {tokenType}, DS.{dps}"); 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) 5493internal int Length => Value.Length; 5536m_current = Value[Index]; 5553m_current = Value[Index]; 5582m_current = Value[Index]; 5613m_current = Value[Index]; 5636m_current = Value[Index]; 5682m_info.Compare(Value.Slice(Index, target.Length), target, CompareOptions.IgnoreCase) == 0; 5686int valueRemaining = Value.Length - Index; 5689if (matchLength > valueRemaining || m_info.Compare(Value.Slice(Index, matchLength), target, CompareOptions.IgnoreCase) != 0) 5704if (thisPosition >= Value.Length - segmentLength) 5717if (!char.IsWhiteSpace(Value[thisPosition + segmentLength])) 5721if (m_info.CompareOptionIgnoreCase(Value.Slice(thisPosition, segmentLength), target.AsSpan(targetPosition, segmentLength)) != 0) 5732while (thisPosition < Value.Length && char.IsWhiteSpace(Value[thisPosition])) 5750if (thisPosition > Value.Length - segmentLength) 5754if (m_info.CompareOptionIgnoreCase(Value.Slice(thisPosition, segmentLength), target.AsSpan(targetPosition, segmentLength)) != 0) 5764if (nextCharIndex < Value.Length) 5766if (char.IsLetter(Value[nextCharIndex])) 5783if (++Index < Length && Value.Slice(Index).StartsWith(str)) 5801if ((Value[Index] == ch) || 5802(ch == ' ' && IsSpaceReplacingChar(Value[Index]))) 5851char repeatChar = Value[Index]; 5853while ((pos < Length) && (Value[pos] == repeatChar)) 5869char.IsAsciiDigit(Value[Index]); 5877return Value[Index]; 5886Debug.Assert(char.IsAsciiDigit(Value[Index]), "IsDigit(Value[Index])"); 5887return Value[Index] - '0'; 5901char ch = Value[Index + 1]; 5932m_current = Value[Index]; 5945while (i >= 0 && char.IsWhiteSpace(Value[i])) 5949Value = Value.Slice(0, i + 1); 5961char ch = Value[i]; 5965if (char.IsWhiteSpace(Value[i - 1])) 5968while (i >= 1 && char.IsWhiteSpace(Value[i - 1])) 5974Value.Slice(0, i).CopyTo(result); 5989char ch = Value[i]; 5993while ((i + 1) < Length && char.IsWhiteSpace(Value[i + 1])) 5999Span<char> result = new char[Value.Length - i]; 6001Value.Slice(i + 1).CopyTo(result.Slice(1)); 6011sub.s = Value; 6015char ch = Value[Index + sub.length]; 6065m_current = Value[Index];