35 references to Length
System.Private.CoreLib (35)
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 (32)
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; 3884if (str.Index + 1 >= str.Length || str.Value[str.Index + 1] != designator[1]) 5557if (Index < Length) 5567return Index < Length ? false : true; 5572Debug.Assert(Index + count <= Length, "__DTString::Advance: Index + count <= len"); 5574if (Index < Length) 5586if (Index >= Length) 5603while (++Index < Length) 5657while (++Index < Length) 5704Index + target.Length <= Length && 5806if (++Index < Length && Value.Slice(Index).StartsWith(str)) 5820if (++Index >= Length) 5876while ((pos < Length) && (Value[pos] == repeatChar)) 5891++Index < Length && 5899Debug.Assert(Index >= 0 && Index < Length, "Index >= 0 && Index < len"); 5908Debug.Assert(Index >= 0 && Index < Length, "Index >= 0 && Index < len"); 5922while (Index + 1 < Length) 5943if (Index >= Length) 5953while (++Index < Length) 5967int i = Length - 1; 5979int i = Length - 1; 6007if (Length <= 2) 6016while ((i + 1) < Length && char.IsWhiteSpace(Value[i + 1])) 6035while (Index + sub.length < Length) 6084Debug.Assert(sub.index + sub.length <= Length, "sub.index + sub.length <= len"); 6086if (Index < Length)