2 references to EnsureEndsWithSlash
Microsoft.Build.Tasks.CodeAnalysis (2)
src\Compilers\Core\MSBuildTask\MapSourceRoots.cs (2)
78
return string.IsNullOrEmpty(path) ? path :
EnsureEndsWithSlash
(Utilities.GetFullPathNoThrow(path));
197
root.SetMetadata(Names.MappedPath, mappedTopLevelPath +
EnsureEndsWithSlash
(nestedRoot).Replace('\\', '/'));