34 references to Length
System.Private.CoreLib (34)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormatInfo.cs (3)
2332
int remaining = str.
Length
- str.Index;
2353
if (nextCharIndex > str.
Length
)
2357
else if (nextCharIndex < str.
Length
)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (31)
432
if (str.Index < str.
Length
)
571
if (str.Index < str.
Length
- 1)
576
while (char.IsWhiteSpace(nextCh) && str.Index + whitespaceCount < str.
Length
- 1)
646
if (str.Index < str.
Length
- 1)
662
if (str.Index < str.
Length
- 1)
1182
for (int i = 0; i < str.
Length
; i++)
1239
str.Index = str.
Length
;
5433
if (Index <
Length
)
5443
return Index <
Length
? false : true;
5448
Debug.Assert(Index + count <=
Length
, "__DTString::Advance: Index + count <= len");
5450
if (Index <
Length
)
5462
if (Index >=
Length
)
5479
while (++Index <
Length
)
5533
while (++Index <
Length
)
5580
Index + target.Length <=
Length
&&
5682
if (++Index <
Length
&& Value.Slice(Index).StartsWith(str))
5696
if (++Index >=
Length
)
5752
while ((pos <
Length
) && (Value[pos] == repeatChar))
5767
++Index <
Length
&&
5775
Debug.Assert(Index >= 0 && Index <
Length
, "Index >= 0 && Index < len");
5784
Debug.Assert(Index >= 0 && Index <
Length
, "Index >= 0 && Index < len");
5798
while (Index + 1 <
Length
)
5819
if (Index >=
Length
)
5829
while (++Index <
Length
)
5843
int i =
Length
- 1;
5855
int i =
Length
- 1;
5883
if (
Length
<= 2)
5892
while ((i + 1) <
Length
&& char.IsWhiteSpace(Value[i + 1]))
5911
while (Index + sub.length <
Length
)
5960
Debug.Assert(sub.index + sub.length <=
Length
, "sub.index + sub.length <= len");
5962
if (Index <
Length
)