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