34 references to Is
Microsoft.AspNetCore.Razor.Language.UnitTests (3)
CodeGeneration\DesignTimeNodeWriterTest.cs (2)
475
[ConditionalTheory(
Is
.Windows)]
519
[ConditionalTheory(
Is
.Windows)]
DefaultRazorProjectFileSystemTest.cs (1)
271
[ConditionalFact(
Is
.Windows)]
Microsoft.AspNetCore.Razor.Test.Common (14)
ConditionalFactAttribute.cs (14)
17
/// Conditions can be provided using the <see cref="
Is
"/> type. For example, <see cref="
Is
.Windows"/> -or-
18
/// <see cref="
Is
.Not.Linux"/>, <see cref="
Is
.Not.MacOS"/>.
62
/// Conditions can be provided using the <see cref="
Is
"/> type. For example, <see cref="
Is
.Windows"/> -or-
63
/// <see cref="
Is
.Not.Linux"/>, <see cref="
Is
.Not.MacOS"/>.
178
Add(
Is
.Windows, static () => PlatformInformation.IsWindows);
179
Add(
Is
.Linux, static () => PlatformInformation.IsLinux);
180
Add(
Is
.MacOS, static () => PlatformInformation.IsMacOS);
181
Add(
Is
.FreeBSD, static () => PlatformInformation.IsFreeBSD);
182
Add(
Is
.AnyUnix, static () => PlatformInformation.IsLinux ||
185
Add(
Is
.EnglishLocale, static () =>
Microsoft.AspNetCore.Razor.Utilities.Shared.UnitTests (7)
PathUtilitiesTests.cs (7)
112
[ConditionalTheory(
Is
.Windows)]
124
[ConditionalTheory(
Is
.Windows)]
145
[ConditionalTheory(
Is
.AnyUnix)]
161
[ConditionalTheory(
Is
.AnyUnix)]
203
[ConditionalTheory(
Is
.Windows)]
211
[ConditionalTheory(
Is
.AnyUnix)]
264
[ConditionalTheory(
Is
.Windows)]
Microsoft.CodeAnalysis.Razor.Workspaces.UnitTests (10)
UriExtensionsTest.cs (6)
19
[ConditionalFact(
Is
.Windows)]
32
[ConditionalFact(
Is
.Windows)]
45
[ConditionalFact(
Is
.Windows)]
58
[ConditionalTheory(
Is
.Windows)]
76
[ConditionalTheory(
Is
.Windows)]
134
[ConditionalTheory(
Is
.Not.Windows)]
Utilities\FilePathNormalizerTest.cs (4)
14
[ConditionalFact(
Is
.Windows)]
27
[ConditionalFact(
Is
.Windows)]
144
[ConditionalFact(
Is
.Windows)]
317
[ConditionalTheory(
Is
.Windows)]