8 references to WithTrailingSlash
Microsoft.Build (2)
Globbing\MSBuildGlob.cs (2)
180
globRoot = Strings.WeakIntern(FileUtilities.NormalizePath(globRoot).
WithTrailingSlash
());
241
return normalizedFixedPart.
WithTrailingSlash
();
Microsoft.Build.Engine.UnitTests (6)
Globbing\MSBuildGlob_Tests.cs (6)
42
var expectedRoot = Path.Combine(Directory.GetCurrentDirectory(), globRoot).
WithTrailingSlash
();
51
Assert.Equal(Directory.GetCurrentDirectory().
WithTrailingSlash
(), glob.TestOnlyGlobRoot);
116
var expectedFixedDirectory = Path.Combine(globRoot, "b").
WithTrailingSlash
();
122
Assert.Equal(globRoot.
WithTrailingSlash
(), glob.TestOnlyGlobRoot);
141
Assert.Equal(globRoot.
WithTrailingSlash
(), glob.TestOnlyGlobRoot);
312
return Path.Combine(Directory.GetCurrentDirectory(), expectedFixedDirectoryPart).Replace("/", "\\").
WithTrailingSlash
();