34 references to Length
System.Private.CoreLib (34)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormatInfo.cs (3)
2326int remaining = str.Length - str.Index; 2347if (nextCharIndex > str.Length) 2351else if (nextCharIndex < str.Length)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (31)
442if (str.Index < str.Length) 581if (str.Index < str.Length - 1) 586while (char.IsWhiteSpace(nextCh) && str.Index + whitespaceCount < str.Length - 1) 656if (str.Index < str.Length - 1) 672if (str.Index < str.Length - 1) 1188for (int i = 0; i < str.Length; i++) 1245str.Index = str.Length; 5534if (Index < Length) 5544return Index < Length ? false : true; 5549Debug.Assert(Index + count <= Length, "__DTString::Advance: Index + count <= len"); 5551if (Index < Length) 5563if (Index >= Length) 5580while (++Index < Length) 5634while (++Index < Length) 5681Index + target.Length <= Length && 5783if (++Index < Length && Value.Slice(Index).StartsWith(str)) 5797if (++Index >= Length) 5853while ((pos < Length) && (Value[pos] == repeatChar)) 5868++Index < Length && 5876Debug.Assert(Index >= 0 && Index < Length, "Index >= 0 && Index < len"); 5885Debug.Assert(Index >= 0 && Index < Length, "Index >= 0 && Index < len"); 5899while (Index + 1 < Length) 5920if (Index >= Length) 5930while (++Index < Length) 5944int i = Length - 1; 5956int i = Length - 1; 5984if (Length <= 2) 5993while ((i + 1) < Length && char.IsWhiteSpace(Value[i + 1])) 6012while (Index + sub.length < Length) 6061Debug.Assert(sub.index + sub.length <= Length, "sub.index + sub.length <= len"); 6063if (Index < Length)