7 writes to Length
mscorlib (7)
system\io\path.cs (1)
711
newBuffer.
Length
= 0;
system\io\pathhelper.cs (6)
191
Length
= result;
264
Length
= r;
314
Length
= sb.Length;
325
Length
= lastSlash;
334
Length
= Length + lenSavedName;
339
Length
= lastSlash;
22 references to Length
mscorlib (22)
system\io\path.cs (11)
669
int thisPos = newBuffer.
Length
- 1;
707
while((spaceCount < newBuffer.
Length
) && newBuffer[spaceCount] == ' ')
743
if (newBuffer.
Length
- 1 - lastDirectorySeparatorPos > MaxDirectoryLength)
791
if (newBuffer.
Length
== 0)
843
for(int i=0; i < newBuffer.
Length
&& !mightBeShortFileName; i++) {
857
for (int i = newBuffer.
Length
- 1; i >= 0; i--) {
867
if (newBuffer.
Length
>= maxPathLength)
870
int lenSavedName = newBuffer.
Length
- lastSlash - 1;
871
Contract.Assert(lastSlash < newBuffer.
Length
, "path unexpectedly ended in a '\'");
884
if (newBuffer.
Length
> 1 && newBuffer[0] == '\\' && newBuffer[1] == '\\') {
909
if (newBuffer.
Length
>= maxPathLength)
system\io\pathhelper.cs (11)
120
Contract.Requires(index >= 0 && index <
Length
);
130
Contract.Requires(index >= 0 && index <
Length
);
142
if (
Length
+ 1 >= m_capacity)
146
m_arrayPtr[
Length
] = value;
212
if (
Length
>= m_maxPath) {
331
if (
Length
+ lenSavedName >= Path.MaxPath)
333
String.wstrcpy(m_arrayPtr +
Length
, savedName, lenSavedName);
334
Length =
Length
+ lenSavedName;
344
if (
Length
+ lenSavedName >= m_maxPath)
352
if (
Length
< compareTo.Length)
383
return new String(m_arrayPtr, 0,
Length
);