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

◆ JoinInternal() [1/3]

static string System.IO.Path.JoinInternal ( ReadOnlySpan< char > first,
ReadOnlySpan< char > second )
inlinestaticprivate

Definition at line 641 of file Path.cs.

642 {
643 if (!PathInternal.IsDirectorySeparator(first[first.Length - 1]) && !PathInternal.IsDirectorySeparator(second[0]))
644 {
645 return string.Concat(first, "\\", second);
646 }
647 return string.Concat(first, second);
648 }

References System.IO.PathInternal.IsDirectorySeparator().

Referenced by System.IO.Path.CombineInternal(), System.IO.Path.CombineInternal(), System.IO.Path.CombineInternal(), System.IO.Path.GetFullPath(), System.IO.Path.Join(), System.IO.Path.Join(), and System.IO.Path.Join().