16 references to IsUnixLikePlatform
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
CodeActions\SyncNamespace\CSharpSyncNamespaceTestsBase.cs (1)
35
=> PathUtilities.
IsUnixLikePlatform
Completion\CompletionProviders\ReferenceDirectiveCompletionProviderTests.cs (1)
53
var commitCharacters = PathUtilities.
IsUnixLikePlatform
? new[] { '"', '/' } : new[] { '"', '\\', '/', ',' };
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)
24
=> ch == '/' || (ch == '\\' && !PathUtilities.
IsUnixLikePlatform
);
151
!PathUtilities.
IsUnixLikePlatform
&& (index = text.LastIndexOf('\\', position)) >= 0)
Completion\Providers\Scripting\AbstractLoadDirectiveCompletionProvider.cs (1)
27
if (PathUtilities.
IsUnixLikePlatform
)
Completion\Providers\Scripting\AbstractReferenceDirectiveCompletionProvider.cs (1)
32
if (PathUtilities.
IsUnixLikePlatform
)
Microsoft.CodeAnalysis.Workspaces (7)
PathUtilities.cs (7)
129
return GetDirectoryName(path,
IsUnixLikePlatform
);
187
return GetPathRoot(path,
IsUnixLikePlatform
);
329
if (!
IsUnixLikePlatform
)
360
if (
IsUnixLikePlatform
)
384
Debug.Assert(!
IsUnixLikePlatform
);
675
return
IsUnixLikePlatform
790
bool isDriveRooted = !
IsUnixLikePlatform
&& IsDriveRootedAbsolutePath(p);