15 references to IsUnixLikePlatform
Microsoft.CodeAnalysis.Features (7)
Completion\FileSystemCompletionHelper.cs (3)
123if (!PathUtilities.IsUnixLikePlatform && directoryPath == "\\") 142if (PathUtilities.IsUnixLikePlatform) 242PathUtilities.IsUnixLikePlatform ? StringComparer.Ordinal : StringComparer.OrdinalIgnoreCase))
Completion\Providers\Scripting\AbstractDirectivePathCompletionProvider.cs (2)
22=> ch == '/' || (ch == '\\' && !PathUtilities.IsUnixLikePlatform); 149!PathUtilities.IsUnixLikePlatform && (index = text.LastIndexOf('\\', position)) >= 0)
Completion\Providers\Scripting\AbstractLoadDirectiveCompletionProvider.cs (1)
25if (PathUtilities.IsUnixLikePlatform)
Completion\Providers\Scripting\AbstractReferenceDirectiveCompletionProvider.cs (1)
32if (PathUtilities.IsUnixLikePlatform)
Microsoft.CodeAnalysis.Workspaces (8)
src\roslyn\src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (8)
155return GetDirectoryName(path, IsUnixLikePlatform); 213return GetPathRoot(path, IsUnixLikePlatform); 355if (!IsUnixLikePlatform) 386if (IsUnixLikePlatform) 410Debug.Assert(!IsUnixLikePlatform); 704return IsUnixLikePlatform 769if (!IsUnixLikePlatform && IsDriveRootedAbsolutePath(filePath)) 869bool isDriveRooted = !IsUnixLikePlatform && IsDriveRootedAbsolutePath(p);