8 references to EndsInDirectorySeparator
aspire (1)
Profiling\ProfileCaptureOptions.cs (1)
83if (Directory.Exists(outputPath) || Path.EndsInDirectorySeparator(outputPath))
Aspire.Hosting.Rust (1)
RustHostingExtensions.cs (1)
629var prefix = Path.EndsInDirectorySeparator(directory)
Microsoft.AspNetCore (1)
HostingPathResolver.cs (1)
15Path.EndsInDirectorySeparator(path) ? path : path + Path.DirectorySeparatorChar;
Microsoft.DotNet.Cli.Definitions (1)
Utilities\OptionExtensions.cs (1)
47if (!Path.EndsInDirectorySeparator(argVal))
System.Private.CoreLib (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\AppContext.AnyOS.cs (1)
32if (!Path.EndsInDirectorySeparator(directory))
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileSystem.Unix.cs (2)
407if (OperatingSystem.IsBrowser() && Path.EndsInDirectorySeparator(sourceFullPath) && FileExists(sourceFullPath)) 439&& Path.EndsInDirectorySeparator(sourceFullPath))
System.Windows.Forms (1)
System\Resources\ResXResourceWriter.cs (1)
311string modifiedBasePath = Path.EndsInDirectorySeparator(BasePath)