15 references to IsUnixLikePlatform
Microsoft.CodeAnalysis.Features (7)
Completion\FileSystemCompletionHelper.cs (3)
123
if (!PathUtilities.
IsUnixLikePlatform
&& directoryPath == "\\")
142
if (PathUtilities.
IsUnixLikePlatform
)
242
PathUtilities.
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)
25
if (PathUtilities.
IsUnixLikePlatform
)
Completion\Providers\Scripting\AbstractReferenceDirectiveCompletionProvider.cs (1)
32
if (PathUtilities.
IsUnixLikePlatform
)
Microsoft.CodeAnalysis.Workspaces (8)
src\roslyn\src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (8)
155
return GetDirectoryName(path,
IsUnixLikePlatform
);
213
return GetPathRoot(path,
IsUnixLikePlatform
);
355
if (!
IsUnixLikePlatform
)
386
if (
IsUnixLikePlatform
)
410
Debug.Assert(!
IsUnixLikePlatform
);
704
return
IsUnixLikePlatform
769
if (!
IsUnixLikePlatform
&& IsDriveRootedAbsolutePath(filePath))
869
bool isDriveRooted = !
IsUnixLikePlatform
&& IsDriveRootedAbsolutePath(p);