35 references to Length
System.Private.CoreLib (35)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormatInfo.cs (3)
2326
int remaining = str.
Length
- str.Index;
2347
if (nextCharIndex > str.
Length
)
2351
else if (nextCharIndex < str.
Length
)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (32)
442
if (str.Index < str.
Length
)
581
if (str.Index < str.
Length
- 1)
586
while (char.IsWhiteSpace(nextCh) && str.Index + whitespaceCount < str.
Length
- 1)
656
if (str.Index < str.
Length
- 1)
672
if (str.Index < str.
Length
- 1)
1188
for (int i = 0; i < str.
Length
; i++)
1245
str.Index = str.
Length
;
3884
if (str.Index + 1 >= str.
Length
|| str.Value[str.Index + 1] != designator[1])
5557
if (Index <
Length
)
5567
return Index <
Length
? false : true;
5572
Debug.Assert(Index + count <=
Length
, "__DTString::Advance: Index + count <= len");
5574
if (Index <
Length
)
5586
if (Index >=
Length
)
5603
while (++Index <
Length
)
5657
while (++Index <
Length
)
5704
Index + target.Length <=
Length
&&
5806
if (++Index <
Length
&& Value.Slice(Index).StartsWith(str))
5820
if (++Index >=
Length
)
5876
while ((pos <
Length
) && (Value[pos] == repeatChar))
5891
++Index <
Length
&&
5899
Debug.Assert(Index >= 0 && Index <
Length
, "Index >= 0 && Index < len");
5908
Debug.Assert(Index >= 0 && Index <
Length
, "Index >= 0 && Index < len");
5922
while (Index + 1 <
Length
)
5943
if (Index >=
Length
)
5953
while (++Index <
Length
)
5967
int i =
Length
- 1;
5979
int i =
Length
- 1;
6007
if (
Length
<= 2)
6016
while ((i + 1) <
Length
&& char.IsWhiteSpace(Value[i + 1]))
6035
while (Index + sub.length <
Length
)
6084
Debug.Assert(sub.index + sub.length <=
Length
, "sub.index + sub.length <= len");
6086
if (Index <
Length
)