75 if (outputBuilder[2] ==
'.')
83 flag2 = !
PathInternal.
IsDevice(outputBuilder.AsSpan()) && outputBuilder.Length > 1 && outputBuilder[0] ==
'\\' && outputBuilder[1] ==
'\\';
89 int num2 = buffer.Length - 1;
97 if (longPathNameW == 0)
100 if (lastWin32Error != 2 && lastWin32Error != 3)
105 while (num2 > rootLength &&
buffer[num2] !=
'\\')
109 if (num2 == rootLength)
115 else if (longPathNameW > outputBuilder.Capacity)
117 outputBuilder.EnsureCapacity(checked((
int)longPathNameW));
122 outputBuilder.Length = checked((
int)longPathNameW);
125 outputBuilder.Append(
buffer.AsSpan(num2,
buffer.Length - num2));