34 references to Length
System.Private.CoreLib (34)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormatInfo.cs (3)
2332int remaining = str.Length - str.Index; 2353if (nextCharIndex > str.Length) 2357else if (nextCharIndex < str.Length)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (31)
432if (str.Index < str.Length) 571if (str.Index < str.Length - 1) 576while (char.IsWhiteSpace(nextCh) && str.Index + whitespaceCount < str.Length - 1) 646if (str.Index < str.Length - 1) 662if (str.Index < str.Length - 1) 1182for (int i = 0; i < str.Length; i++) 1239str.Index = str.Length; 5433if (Index < Length) 5443return Index < Length ? false : true; 5448Debug.Assert(Index + count <= Length, "__DTString::Advance: Index + count <= len"); 5450if (Index < Length) 5462if (Index >= Length) 5479while (++Index < Length) 5533while (++Index < Length) 5580Index + target.Length <= Length && 5682if (++Index < Length && Value.Slice(Index).StartsWith(str)) 5696if (++Index >= Length) 5752while ((pos < Length) && (Value[pos] == repeatChar)) 5767++Index < Length && 5775Debug.Assert(Index >= 0 && Index < Length, "Index >= 0 && Index < len"); 5784Debug.Assert(Index >= 0 && Index < Length, "Index >= 0 && Index < len"); 5798while (Index + 1 < Length) 5819if (Index >= Length) 5829while (++Index < Length) 5843int i = Length - 1; 5855int i = Length - 1; 5883if (Length <= 2) 5892while ((i + 1) < Length && char.IsWhiteSpace(Value[i + 1])) 5911while (Index + sub.length < Length) 5960Debug.Assert(sub.index + sub.length <= Length, "sub.index + sub.length <= len"); 5962if (Index < Length)