34 references to Length
System.Private.CoreLib (34)
src\runtime\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\runtime\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; 5538if (Index < Length) 5548return Index < Length ? false : true; 5553Debug.Assert(Index + count <= Length, "__DTString::Advance: Index + count <= len"); 5555if (Index < Length) 5567if (Index >= Length) 5584while (++Index < Length) 5638while (++Index < Length) 5685Index + target.Length <= Length && 5787if (++Index < Length && Value.Slice(Index).StartsWith(str)) 5801if (++Index >= Length) 5857while ((pos < Length) && (Value[pos] == repeatChar)) 5872++Index < Length && 5880Debug.Assert(Index >= 0 && Index < Length, "Index >= 0 && Index < len"); 5889Debug.Assert(Index >= 0 && Index < Length, "Index >= 0 && Index < len"); 5903while (Index + 1 < Length) 5924if (Index >= Length) 5934while (++Index < Length) 5948int i = Length - 1; 5960int i = Length - 1; 5988if (Length <= 2) 5997while ((i + 1) < Length && char.IsWhiteSpace(Value[i + 1])) 6016while (Index + sub.length < Length) 6065Debug.Assert(sub.index + sub.length <= Length, "sub.index + sub.length <= len"); 6067if (Index < Length)