Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IsExtended() [2/3]

static bool System.IO.PathInternal.IsExtended ( ReadOnlySpan< char > path)
inlinestaticpackage

Definition at line 326 of file PathInternal.cs.

327 {
328 if (path.Length >= 4 && path[0] == '\\' && (path[1] == '\\' || path[1] == '?') && path[2] == '?')
329 {
330 return path[3] == '\\';
331 }
332 return false;
333 }

References System.ReadOnlySpan< T >.Length.