212 references to ConditionalTheory
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (1)
DotNetSdkTests.cs (1)
311[ConditionalTheory(typeof(DotNetSdkAvailable))]
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (8)
CommandLineTests.cs (7)
12587[ConditionalTheory(typeof(IsEnglishLocal)), CombinatorialData] 12649[ConditionalTheory(typeof(IsEnglishLocal)), CombinatorialData] 12705[ConditionalTheory(typeof(IsEnglishLocal)), CombinatorialData] 12792[ConditionalTheory(typeof(IsEnglishLocal)), CombinatorialData] 12893[ConditionalTheory(typeof(IsEnglishLocal)), CombinatorialData] 15446[ConditionalTheory(typeof(WindowsOnly))] 15459[ConditionalTheory(typeof(LinuxOnly))]
SarifV2ErrorLoggerTests.cs (1)
663[ConditionalTheory(typeof(WindowsOnly), Reason = "https://github.com/dotnet/roslyn/issues/30289")]
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Completion\CompletionProviders\ReferenceDirectiveCompletionProviderTests.cs (1)
65[ConditionalTheory(typeof(WindowsOnly))]
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (37)
CodeGen\CodeGenAsyncIteratorTests.cs (34)
3455[ConditionalTheory(typeof(WindowsDesktopOnly), Reason = ConditionalSkipReason.NativePdbRequiresDesktop)] 4460[ConditionalTheory(typeof(WindowsDesktopOnly))] 4662[ConditionalTheory(typeof(WindowsDesktopOnly))] 4697[ConditionalTheory(typeof(WindowsDesktopOnly))] 4745[ConditionalTheory(typeof(WindowsDesktopOnly))] 4786[ConditionalTheory(typeof(WindowsDesktopOnly))] 4832[ConditionalTheory(typeof(WindowsDesktopOnly))] 4881[ConditionalTheory(typeof(WindowsDesktopOnly))] 4925[ConditionalTheory(typeof(WindowsDesktopOnly))] 4979[ConditionalTheory(typeof(WindowsDesktopOnly))] 5023[ConditionalTheory(typeof(WindowsDesktopOnly))] 5069[ConditionalTheory(typeof(WindowsDesktopOnly))] 5122[ConditionalTheory(typeof(WindowsDesktopOnly))] 5155[ConditionalTheory(typeof(WindowsDesktopOnly))] 5186[ConditionalTheory(typeof(WindowsDesktopOnly))] 5251[ConditionalTheory(typeof(WindowsDesktopOnly))] 5285[ConditionalTheory(typeof(WindowsDesktopOnly))] 5316[ConditionalTheory(typeof(WindowsDesktopOnly))] 5348[ConditionalTheory(typeof(WindowsDesktopOnly))] 5383[ConditionalTheory(typeof(WindowsDesktopOnly))] 5417[ConditionalTheory(typeof(WindowsDesktopOnly))] 5456[ConditionalTheory(typeof(WindowsDesktopOnly))] 5496[ConditionalTheory(typeof(WindowsDesktopOnly))] 5574[ConditionalTheory(typeof(WindowsDesktopOnly))] 5667[ConditionalTheory(typeof(WindowsDesktopOnly))] 5702[ConditionalTheory(typeof(WindowsDesktopOnly))] 5732[ConditionalTheory(typeof(WindowsDesktopOnly))] 5763[ConditionalTheory(typeof(WindowsDesktopOnly))] 6148[ConditionalTheory(typeof(WindowsDesktopOnly))] 6188[ConditionalTheory(typeof(WindowsDesktopOnly))] 6222[ConditionalTheory(typeof(WindowsDesktopOnly))] 6263[ConditionalTheory(typeof(WindowsDesktopOnly))] 6302[ConditionalTheory(typeof(WindowsDesktopOnly))] 6338[ConditionalTheory(typeof(WindowsDesktopOnly))]
CodeGen\CodeGenFunctionPointersTests.cs (1)
1267[ConditionalTheory(typeof(CoreClrOnly))]
CodeGen\CodeGenInParametersTests.cs (2)
2527[ConditionalTheory(typeof(ClrOnly), Reason = "https://github.com/mono/mono/issues/10834"), CombinatorialData] 2591[ConditionalTheory(typeof(ClrOnly), Reason = "https://github.com/mono/mono/issues/10834"), CombinatorialData]
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (3)
PDB\CSharpDeterministicBuildCompilationTests.cs (1)
219[ConditionalTheory(typeof(DesktopOnly))]
PDB\PDBTests.cs (2)
374[ConditionalTheory(typeof(WindowsOnly), Reason = ConditionalSkipReason.NativePdbRequiresDesktop)] 385[ConditionalTheory(typeof(WindowsOnly), Reason = ConditionalSkipReason.NativePdbRequiresDesktop)]
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (23)
Attributes\InternalsVisibleToAndStrongNameTests.cs (20)
159[ConditionalTheory(typeof(WindowsOnly), Reason = ConditionalSkipReason.TestHasWindowsPaths)] 248[ConditionalTheory(typeof(WindowsOnly), Reason = ConditionalSkipReason.TestExecutionNeedsWindowsTypes)] 391[ConditionalTheory(typeof(WindowsOnly), Reason = ConditionalSkipReason.TestExecutionNeedsWindowsTypes)] 421[ConditionalTheory(typeof(WindowsOnly), Reason = ConditionalSkipReason.TestExecutionNeedsWindowsTypes)] 433[ConditionalTheory(typeof(WindowsOnly))] 891[ConditionalTheory(typeof(WindowsOnly), Reason = ConditionalSkipReason.TestExecutionNeedsWindowsTypes)] 1083[ConditionalTheory(typeof(WindowsOnly), Reason = ConditionalSkipReason.TestExecutionNeedsWindowsTypes)] 1113[ConditionalTheory(typeof(WindowsOnly), Reason = ConditionalSkipReason.TestExecutionNeedsWindowsTypes)] 1142[ConditionalTheory(typeof(WindowsOnly), Reason = ConditionalSkipReason.TestExecutionNeedsWindowsTypes)] 1172[ConditionalTheory(typeof(WindowsOnly), Reason = ConditionalSkipReason.TestExecutionNeedsWindowsTypes)] 1207[ConditionalTheory(typeof(WindowsOnly), Reason = ConditionalSkipReason.TestExecutionNeedsWindowsTypes)] 1248[ConditionalTheory(typeof(WindowsOnly), Reason = ConditionalSkipReason.TestExecutionNeedsWindowsTypes)] 1278[ConditionalTheory(typeof(WindowsOnly), Reason = ConditionalSkipReason.TestExecutionNeedsWindowsTypes)] 1314[ConditionalTheory(typeof(WindowsOnly), Reason = ConditionalSkipReason.TestExecutionNeedsWindowsTypes)] 1432[ConditionalTheory(typeof(DesktopOnly), Reason = "https://github.com/dotnet/coreclr/issues/21723")] 1583[ConditionalTheory(typeof(WindowsOnly), Reason = ConditionalSkipReason.TestExecutionNeedsWindowsTypes)] 1596[ConditionalTheory(typeof(WindowsOnly), Reason = ConditionalSkipReason.TestExecutionNeedsWindowsTypes)] 1655[ConditionalTheory(typeof(WindowsOnly), Reason = ConditionalSkipReason.TestExecutionNeedsWindowsTypes)] 1672[ConditionalTheory(typeof(WindowsOnly), Reason = ConditionalSkipReason.TestExecutionNeedsWindowsTypes)] 2497[ConditionalTheory(typeof(WindowsOnly), Reason = ConditionalSkipReason.TestExecutionNeedsWindowsTypes)]
Semantics\InlineArrayTests.cs (2)
6223[ConditionalTheory(typeof(CoreClrOnly))] 6985[ConditionalTheory(typeof(CoreClrOnly))]
Semantics\PatternMatchingTests3.cs (1)
2932[ConditionalTheory(typeof(NoUsedAssembliesValidation))] // The test hook is blocked by https://github.com/dotnet/roslyn/issues/44657
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (1)
EndToEndTests.cs (1)
456[ConditionalTheory(typeof(NoIOperationValidation))]
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (48)
ConvertTupleToStruct\ConvertTupleToStructTests.cs (48)
71[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 138[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 175[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 216[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 253[ConditionalTheory(typeof(DesktopOnly)), WorkItem("https://github.com/dotnet/roslyn/issues/45451"), CombinatorialData] 320[ConditionalTheory(typeof(DesktopOnly)), WorkItem("https://github.com/dotnet/roslyn/issues/45451"), CombinatorialData] 417[ConditionalTheory(typeof(DesktopOnly)), WorkItem("https://github.com/dotnet/roslyn/issues/39916"), CombinatorialData] 484[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 551[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 618[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 687[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 758[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 829[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 898[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 971[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 1040[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 1107[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 1174[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 1243[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 1324[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 1397[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 1470[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 1551[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 1620[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 1687[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 1703[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 1772[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 1841[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 1910[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 1979[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 2048[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 2123[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 2198[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 2273[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 2414[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 2493[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 2572[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 2651[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 2730[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 2810[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 2894[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 2995[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 3093[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 3192[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 3299[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 3454[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 3607[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData] 3748[ConditionalTheory(typeof(DesktopOnly)), CombinatorialData]
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
CommandLineRunnerTests.cs (1)
499[ConditionalTheory(typeof(WindowsOnly))]
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (19)
Semantics\ArglistTests.cs (1)
1663[ConditionalTheory(typeof(WindowsOnly), Reason = ConditionalSkipReason.RestrictedTypesNeedDesktop)]
Semantics\GenericConstraintsTests.cs (1)
2478[ConditionalTheory(typeof(ClrOnly), Reason = "https://github.com/mono/mono/issues/10782")]
Semantics\InterpolationTests.cs (2)
2230[ConditionalTheory(typeof(MonoOrCoreClrOnly))] 4030[ConditionalTheory(typeof(MonoOrCoreClrOnly), typeof(NoIOperationValidation))]
Semantics\RawInterpolationTests_Handler.cs (2)
600[ConditionalTheory(typeof(MonoOrCoreClrOnly))] 2431[ConditionalTheory(typeof(MonoOrCoreClrOnly), typeof(NoIOperationValidation))]
Semantics\RefEscapingTests.cs (2)
5529[ConditionalTheory(typeof(CoreClrOnly))] 5564[ConditionalTheory(typeof(CoreClrOnly))]
Semantics\RefFieldTests.cs (2)
2200[ConditionalTheory(typeof(CoreClrOnly))] 28526[ConditionalTheory(typeof(CoreClrOnly))]
Semantics\Utf8StringsLiteralsTests.cs (9)
1627[ConditionalTheory(typeof(CoreClrOnly))] 1680[ConditionalTheory(typeof(CoreClrOnly))] 1733[ConditionalTheory(typeof(CoreClrOnly))] 1789[ConditionalTheory(typeof(CoreClrOnly))] 1855[ConditionalTheory(typeof(CoreClrOnly))] 3416[ConditionalTheory(typeof(CoreClrOnly))] 3472[ConditionalTheory(typeof(CoreClrOnly))] 4037[ConditionalTheory(typeof(CoreClrOnly))] 4094[ConditionalTheory(typeof(CoreClrOnly))]
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (24)
Symbols\DefaultInterfaceImplementationTests.cs (22)
54315[ConditionalTheory(typeof(MonoOrCoreClrOnly))] 54392[ConditionalTheory(typeof(MonoOrCoreClrOnly))] 54465[ConditionalTheory(typeof(MonoOrCoreClrOnly))] 54565[ConditionalTheory(typeof(MonoOrCoreClrOnly))] 54636[ConditionalTheory(typeof(MonoOrCoreClrOnly))] 54704[ConditionalTheory(typeof(MonoOrCoreClrOnly))] 54798[ConditionalTheory(typeof(MonoOrCoreClrOnly))] 54892[ConditionalTheory(typeof(MonoOrCoreClrOnly))] 59050[ConditionalTheory(typeof(MonoOrCoreClrOnly))] 62868[ConditionalTheory(typeof(MonoOrCoreClrOnly))] 63203[ConditionalTheory(typeof(MonoOrCoreClrOnly))] 63369[ConditionalTheory(typeof(MonoOrCoreClrOnly))] 63535[ConditionalTheory(typeof(MonoOrCoreClrOnly))] 63709[ConditionalTheory(typeof(MonoOrCoreClrOnly))] 63867[ConditionalTheory(typeof(MonoOrCoreClrOnly))] 64116[ConditionalTheory(typeof(MonoOrCoreClrOnly))] 64232[ConditionalTheory(typeof(MonoOrCoreClrOnly))] 64348[ConditionalTheory(typeof(MonoOrCoreClrOnly))] 64468[ConditionalTheory(typeof(MonoOrCoreClrOnly))] 64541[ConditionalTheory(typeof(MonoOrCoreClrOnly))] 64621[ConditionalTheory(typeof(MonoOrCoreClrOnly))] 64696[ConditionalTheory(typeof(MonoOrCoreClrOnly))]
Symbols\StaticAbstractMembersInInterfacesTests.cs (2)
14831[ConditionalTheory(typeof(CoreClrOnly))] 14897[ConditionalTheory(typeof(CoreClrOnly))]
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (6)
ProtocolConversionsTests.cs (6)
53[ConditionalTheory(typeof(WindowsOnly))] 79[ConditionalTheory(typeof(WindowsOnly))] 93[ConditionalTheory(typeof(UnixLikeOnly))] 113[ConditionalTheory(typeof(WindowsOnly))] 136[ConditionalTheory(typeof(UnixLikeOnly))] 154[ConditionalTheory(typeof(UnixLikeOnly))]
Microsoft.CodeAnalysis.Rebuild.UnitTests (3)
BasicDeterministicKeyBuilderTests.cs (1)
188[ConditionalTheory(typeof(WindowsOnly))]
CSharpDeterministicKeyBuilderTests.cs (1)
364[ConditionalTheory(typeof(WindowsOnly))]
RebuildCommandLineTests.cs (1)
498[ConditionalTheory(typeof(IsEnglishLocal))]
Microsoft.CodeAnalysis.UnitTests (11)
AnalyzerAssemblyLoaderTests.cs (4)
357[ConditionalTheory(typeof(WindowsOnly), Reason = "https://github.com/dotnet/roslyn/issues/66621")] 556[ConditionalTheory(typeof(WindowsOnly), Reason = "https://github.com/dotnet/runtime/issues/81108")] 753[ConditionalTheory(typeof(WindowsOnly), Reason = "https://github.com/dotnet/roslyn/issues/66626")] 1466[ConditionalTheory(typeof(WindowsOnly))]
Collections\HashSet\ISet_Generic_Tests`1.cs (1)
458[ConditionalTheory(typeof(CoreClrOnly))]
FileSystem\PathUtilitiesTests.cs (5)
345[ConditionalTheory(typeof(WindowsOnly))] 367[ConditionalTheory(typeof(UnixLikeOnly))] 396[ConditionalTheory(typeof(WindowsOnly))] 439[ConditionalTheory(typeof(WindowsOnly))] 451[ConditionalTheory(typeof(UnixLikeOnly))]
FileUtilitiesTests.cs (1)
272[ConditionalTheory(typeof(WindowsOnly))]
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (17)
Attributes\InternalsVisibleToAndStrongNameTests.vb (15)
117<ConditionalTheory(GetType(WindowsOnly), Reason:=ConditionalSkipReason.TestExecutionNeedsWindowsTypes)> 147<ConditionalTheory(GetType(WindowsOnly), Reason:=ConditionalSkipReason.TestExecutionNeedsWindowsTypes)> 514<ConditionalTheory(GetType(WindowsOnly), Reason:=ConditionalSkipReason.TestExecutionNeedsWindowsTypes)> 661<ConditionalTheory(GetType(WindowsOnly), Reason:=ConditionalSkipReason.TestExecutionNeedsWindowsTypes)> 725<ConditionalTheory(GetType(WindowsOnly), Reason:=ConditionalSkipReason.TestExecutionNeedsWindowsTypes)> 865<ConditionalTheory(GetType(WindowsOnly), Reason:=ConditionalSkipReason.TestExecutionNeedsWindowsTypes)> 897<ConditionalTheory(GetType(WindowsOnly), Reason:=ConditionalSkipReason.TestExecutionNeedsWindowsTypes)> 930<ConditionalTheory(GetType(WindowsOnly), Reason:=ConditionalSkipReason.TestExecutionNeedsWindowsTypes)> 964<ConditionalTheory(GetType(WindowsOnly), Reason:=ConditionalSkipReason.TestExecutionNeedsWindowsTypes)> 1114<ConditionalTheory(GetType(DesktopOnly), Reason:="https://github.com/dotnet/coreclr/issues/21723")> 1459<ConditionalTheory(GetType(WindowsOnly), Reason:=ConditionalSkipReason.TestExecutionNeedsWindowsTypes)> 1485<ConditionalTheory(GetType(WindowsOnly), Reason:=ConditionalSkipReason.TestExecutionNeedsWindowsTypes)> 1509<ConditionalTheory(GetType(WindowsOnly), Reason:=ConditionalSkipReason.TestExecutionNeedsWindowsTypes)> 1739<ConditionalTheory(GetType(WindowsOnly), Reason:=ConditionalSkipReason.TestExecutionNeedsWindowsTypes)> 1794<ConditionalTheory(GetType(WindowsOnly), Reason:=ConditionalSkipReason.TestExecutionNeedsWindowsTypes)>
Emit\EditAndContinue\EditAndContinuePdbTests.vb (1)
18<ConditionalTheory(GetType(WindowsOnly), Reason:=ConditionalSkipReason.NativePdbRequiresDesktop)>
PDB\VisualBasicDeterministicBuildCompilationTests.vb (1)
115<ConditionalTheory(GetType(DesktopOnly))>
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (4)
NewlyCreatedProjectsFromDotNetNew.cs (2)
64[ConditionalTheory(typeof(DotNetSdkMSBuildInstalled), AlwaysSkip = "https://github.com/dotnet/roslyn/issues/74157")] 77[ConditionalTheory(typeof(DotNetSdkMSBuildInstalled), AlwaysSkip = "https://github.com/dotnet/roslyn/issues/74827")]
VisualStudioMSBuildWorkspaceTests.cs (2)
265[ConditionalTheory(typeof(VisualStudioMSBuildInstalled))] 287[ConditionalTheory(typeof(VisualStudioMSBuildInstalled))]
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
SolutionTests\SolutionWithSourceGeneratorTests.cs (1)
155[ConditionalTheory(typeof(IsRelease)), CombinatorialData]
UtilityTest\FilePathUtilitiesTests.cs (2)
103[ConditionalTheory(typeof(WindowsOnly)), WorkItem(72043, "https://github.com/dotnet/roslyn/issues/72043")] 114[ConditionalTheory(typeof(UnixLikeOnly)), WorkItem(72043, "https://github.com/dotnet/roslyn/issues/72043")]
VBCSCompiler.UnitTests (2)
VBCSCompilerServerTests.cs (2)
297[ConditionalTheory(typeof(WindowsOnly), Reason = "https://github.com/dotnet/roslyn/issues/46447")] 325[ConditionalTheory(typeof(WindowsOnly), Reason = "https://github.com/dotnet/roslyn/issues/46447")]