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)
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; 5431if (Index < Length) 5441return Index < Length ? false : true; 5446Debug.Assert(Index + count <= Length, "__DTString::Advance: Index + count <= len"); 5448if (Index < Length) 5460if (Index >= Length) 5477while (++Index < Length) 5531while (++Index < Length) 5578Index + target.Length <= Length && 5680if (++Index < Length && Value.Slice(Index).StartsWith(str)) 5694if (++Index >= Length) 5750while ((pos < Length) && (Value[pos] == repeatChar)) 5765++Index < Length && 5773Debug.Assert(Index >= 0 && Index < Length, "Index >= 0 && Index < len"); 5782Debug.Assert(Index >= 0 && Index < Length, "Index >= 0 && Index < len"); 5796while (Index + 1 < Length) 5817if (Index >= Length) 5827while (++Index < Length) 5841int i = Length - 1; 5853int i = Length - 1; 5881if (Length <= 2) 5890while ((i + 1) < Length && char.IsWhiteSpace(Value[i + 1])) 5909while (Index + sub.length < Length) 5958Debug.Assert(sub.index + sub.length <= Length, "sub.index + sub.length <= len"); 5960if (Index < Length)