18 references to IsWindows
Microsoft.AspNetCore.Razor.Test.Common (3)
ConditionalFactAttribute.cs (1)
178Add(Is.Windows, static () => PlatformInformation.IsWindows);
Language\IntegrationTests\RazorIntegrationTestBase.cs (2)
77WorkingDirectory = PlatformInformation.IsWindows ? ArbitraryWindowsPath : ArbitraryMacLinuxPath; 452if (!PlatformInformation.IsWindows)
Microsoft.AspNetCore.Razor.Test.Common.Tooling (4)
Language\IntegrationTests\RazorToolingIntegrationTestBase.cs (2)
60WorkingDirectory = PlatformInformation.IsWindows ? ArbitraryWindowsPath : ArbitraryMacLinuxPath; 326if (!PlatformInformation.IsWindows)
TestPathUtilities.cs (1)
20result = PlatformInformation.IsWindows
TestProjectData.cs (1)
21var baseDirectory = PlatformInformation.IsWindows ? @"c:\users\example\src" : "/home/example";
Microsoft.AspNetCore.Razor.Utilities.Shared (2)
PathUtilities.cs (2)
18public static readonly StringComparer OSSpecificPathComparer = PlatformInformation.IsWindows 22public static readonly StringComparison OSSpecificPathComparison = PlatformInformation.IsWindows
Microsoft.CodeAnalysis.Razor.Compiler (2)
Language\CodeGeneration\CodeRenderingContextExtensions.cs (1)
108var ensurePathBackSlashes = options.RemapLinePragmaPathsOnWindows && PlatformInformation.IsWindows;
Language\DefaultRazorProjectFileSystem.cs (1)
109if (PlatformInformation.IsWindows && PathUtilities.IsPathFullyQualified(path))
Microsoft.CodeAnalysis.Razor.Workspaces (1)
Utilities\FilePathNormalizer.cs (1)
227if (PlatformInformation.IsWindows &&
Microsoft.CodeAnalysis.Razor.Workspaces.UnitTests (1)
FindNodeTests.cs (1)
66private static readonly string s_fetchDataContents = PlatformInformation.IsWindows
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (2)
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\ComputedTargetPathTest.cs (1)
21private static readonly string s_hintNamePrefix = PlatformInformation.IsWindows
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostDocumentSymbolEndpointTest.cs (1)
104var generatedNamespace = PlatformInformation.IsWindows
Microsoft.VisualStudioCode.RazorExtension (1)
Services\VSCodeLanguageServerFeatureOptions.cs (1)
17public override bool ReturnCodeActionAndRenamePathsWithPrefixedSlash => PlatformInformation.IsWindows;
Microsoft.VisualStudioCode.RazorExtension.UnitTests (2)
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\ComputedTargetPathTest.cs (1)
21private static readonly string s_hintNamePrefix = PlatformInformation.IsWindows
src\Razor\src\Razor\test\Microsoft.CodeAnalysis.Razor.CohostingShared.UnitTests\Endpoints\CohostDocumentSymbolEndpointTest.cs (1)
104var generatedNamespace = PlatformInformation.IsWindows