670 references to RuntimeInformation
aspire (19)
aspire-managed (1)
Aspire.Acquisition.Tests (6)
Aspire.Cli.Tests (24)
Aspire.Dashboard (3)
Aspire.EndToEnd.Tests (6)
Aspire.Hosting (3)
Aspire.Hosting.CodeGeneration.Python (1)
Aspire.Hosting.DevTunnels (1)
Aspire.Hosting.Java (2)
Aspire.Hosting.RemoteHost (1)
Aspire.Hosting.Tests (3)
Aspire.Templates.Tests (6)
Aspire.TestUtilities (1)
crossgen2 (7)
Crossgen2Tasks (13)
csc (1)
dotnet-aot (31)
dotnet-dev-certs (10)
dotnet-getdocument (1)
dotnet-openapi (1)
dotnet-sql-cache (1)
dotnet-suggest (2)
dotnet-svcutil-lib (4)
dotnet-svcutil-lib.Tests (6)
dotnet-user-jwts (2)
dotnet-user-secrets (3)
GetDocument.Insider (1)
ilc (7)
ILCompiler.DependencyAnalysisFramework (1)
ILCompiler.ReadyToRun (2)
ILCompiler.RyuJit (2)
Infrastructure.Common (2)
Infrastructure.IntegrationTests (3)
Infrastructure.Tests (2)
Microsoft.Agents.AI.ProjectTemplates.Tests (1)
Microsoft.Arcade.Common (2)
Microsoft.AspNetCore.Components.Testing.Tasks (1)
Microsoft.AspNetCore.Components.WebAssembly (1)
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
Microsoft.AspNetCore.DataProtection (16)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (2)
Microsoft.AspNetCore.Hosting (3)
Microsoft.AspNetCore.Http.Connections.Client (4)
Microsoft.AspNetCore.InternalTesting (19)
Microsoft.AspNetCore.Razor.Utilities.Shared (4)
Microsoft.AspNetCore.Server.IIS (3)
Microsoft.AspNetCore.Server.IntegrationTesting (9)
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Microsoft.AspNetCore.Testing (1)
Microsoft.AspNetCore.Testing.Tests (2)
Microsoft.AspNetCore.WebUtilities (2)
Microsoft.Build (7)
Microsoft.Build.Framework (12)
Microsoft.Build.TaskAuthoring.Analyzer (1)
Microsoft.Build.Tasks.CodeAnalysis (4)
Microsoft.Build.Tasks.Core (1)
Microsoft.CodeAnalysis (8)
Microsoft.CodeAnalysis.BuildClient.Package (3)
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Microsoft.CodeAnalysis.Scripting (1)
Microsoft.CodeAnalysis.Workspaces (5)
Microsoft.CodeAnalysis.Workspaces.MSBuild (3)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
Microsoft.Diagnostics.NETCore.Client (19)
Microsoft.DiaSymReader (2)
Microsoft.DotNet.Arcade.Sdk (4)
Microsoft.DotNet.Build.Tasks.Feed (1)
Microsoft.DotNet.Cli.Definitions (2)
Microsoft.DotNet.Cli.Utils (20)
Microsoft.DotNet.Configurer (1)
Microsoft.DotNet.HotReload.Watch (6)
Microsoft.DotNet.HotReload.WebAssembly.Browser (1)
Microsoft.DotNet.MacOsPkg.Cli (1)
Microsoft.DotNet.NativeWrapper (1)
Microsoft.DotNet.ProjectTools (1)
Microsoft.DotNet.StrongName (1)
Microsoft.DotNet.TemplateLocator (3)
Microsoft.Extensions.AI.Abstractions.Tests (2)
Microsoft.Extensions.AI.Evaluation.Console (12)
Microsoft.Extensions.AI.Evaluation.Reporting (1)
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (1)
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (13)
DiskBased\PathValidationTests.cs (13)
75if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
264Assert.SkipUnless(RuntimeInformation.IsOSPlatform(OSPlatform.Windows), "Skipped on Linux/macOS");
277Assert.SkipUnless(RuntimeInformation.IsOSPlatform(OSPlatform.Windows), "Skipped on Linux/macOS");
289Assert.SkipUnless(RuntimeInformation.IsOSPlatform(OSPlatform.Windows), "Skipped on Linux/macOS");
301Assert.SkipUnless(RuntimeInformation.IsOSPlatform(OSPlatform.Windows), "Skipped on Linux/macOS");
313Assert.SkipUnless(RuntimeInformation.IsOSPlatform(OSPlatform.Windows), "Skipped on Linux/macOS");
329Assert.SkipUnless(RuntimeInformation.IsOSPlatform(OSPlatform.Windows), "Skipped on Linux/macOS");
378Assert.SkipUnless(RuntimeInformation.IsOSPlatform(OSPlatform.Windows), "Skipped on Linux/macOS");
417Assert.SkipUnless(RuntimeInformation.IsOSPlatform(OSPlatform.Windows), "Skipped on Linux/macOS");
434if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
451Assert.SkipUnless(RuntimeInformation.IsOSPlatform(OSPlatform.Windows), "Skipped on Linux/macOS");
464Assert.SkipUnless(RuntimeInformation.IsOSPlatform(OSPlatform.Windows), "Skipped on Linux/macOS");
476Assert.SkipUnless(!RuntimeInformation.IsOSPlatform(OSPlatform.Windows), "Skipped on Windows");
Microsoft.Extensions.AI.Templates.Tests (1)
Microsoft.Extensions.DependencyModel (3)
Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization.Tests (3)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Kubernetes.Tests (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (39)
ResourceMonitoringExtensionsTests.cs (11)
24Assert.SkipUnless(!RuntimeInformation.IsOSPlatform(OSPlatform.OSX), "Not supported on MacOs.");
37Assert.SkipUnless(!RuntimeInformation.IsOSPlatform(OSPlatform.OSX), "Not supported on MacOs.");
59Assert.SkipUnless(!RuntimeInformation.IsOSPlatform(OSPlatform.OSX), "Not supported on MacOs.");
77Assert.SkipUnless(!RuntimeInformation.IsOSPlatform(OSPlatform.OSX), "Not supported on MacOs.");
100Assert.SkipUnless(!RuntimeInformation.IsOSPlatform(OSPlatform.OSX), "Not supported on MacOs.");
128Assert.SkipUnless(!RuntimeInformation.IsOSPlatform(OSPlatform.OSX), "Not supported on MacOs.");
158Assert.SkipUnless(!RuntimeInformation.IsOSPlatform(OSPlatform.OSX), "Not supported on MacOs.");
201Assert.SkipUnless(!RuntimeInformation.IsOSPlatform(OSPlatform.OSX), "Not supported on MacOs.");
226Assert.SkipUnless(RuntimeInformation.IsOSPlatform(OSPlatform.OSX), "For MacOs only.");
241Assert.SkipUnless(!RuntimeInformation.IsOSPlatform(OSPlatform.OSX), "Not supported on MacOs.");
256Assert.SkipUnless(!RuntimeInformation.IsOSPlatform(OSPlatform.OSX), "Not supported on MacOs.");
Microsoft.Extensions.DotNetDeltaApplier (1)
Microsoft.Extensions.Hosting (1)
Microsoft.Extensions.Hosting.WindowsServices (3)
Microsoft.Extensions.Http.Resilience.Tests (1)
Microsoft.Extensions.Logging.Console (1)
Microsoft.Maui.Controls.BindingSourceGen (1)
Microsoft.ML.CpuMath.UnitTests (3)
Microsoft.ML.FastTree (2)
Microsoft.ML.Mkl.Components (2)
Microsoft.ML.OneDal (2)
Microsoft.ML.Predictor.Tests (6)
Microsoft.ML.StandardTrainers (1)
Microsoft.ML.Sweeper (1)
Microsoft.ML.TestFramework (20)
Microsoft.ML.TestFrameworkCommon (13)
Microsoft.ML.Tests (13)
Microsoft.NET.Build.Containers (6)
Microsoft.NET.Build.Tasks (20)
Microsoft.NET.HostModel (4)
Microsoft.NET.ProjectData (11)
Microsoft.NET.ProjectData.Tasks (11)
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (2)
Microsoft.NET.Sdk.Publish.Tasks (2)
Microsoft.NET.Sdk.Razor.Tasks (1)
Microsoft.NET.Sdk.StaticWebAssets.Tasks (3)
Microsoft.NET.Sdk.WorkloadManifestReader (3)
Microsoft.NET.Sdk.WorkloadMSBuildSdkResolver (2)
Microsoft.TemplateEngine.Edge (3)
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (1)
Microsoft.TestPlatform.Build (1)
Microsoft.TestPlatform.CrossPlatEngine (2)
Microsoft.TestPlatform.Extensions.BlameDataCollector (15)
Microsoft.TestPlatform.PlatformAbstractions (6)
Microsoft.VisualBasic.Forms (1)
mscorlib (1)
netstandard (1)
NuGet.Common (4)
NuGet.Protocol (5)
RepoTasks (2)
rzc (2)
sdk-tasks (2)
System.Configuration.ConfigurationManager (1)
System.Data.Odbc (1)
System.Data.OleDb (1)
System.Management (1)
System.Net.Security (1)
System.Net.Sockets (1)
System.Private.Windows.Core.TestUtilities (2)
System.Runtime (1)
System.Runtime.InteropServices.JavaScript (2)
System.Runtime.InteropServices.RuntimeInformation (1)
System.Security.Cryptography (1)
System.Security.Cryptography.Pkcs (4)
System.Security.Cryptography.ProtectedData (1)
System.ServiceModel.Http.Tests (1)
System.ServiceModel.NetFramingBase (1)
System.ServiceModel.NetNamedPipe (4)
System.ServiceModel.NetTcp.Tests (1)
System.ServiceModel.Primitives (11)
System.ServiceModel.Primitives.Tests (1)
System.ServiceModel.UnixDomainSocket (3)
System.ServiceModel.UnixDomainSocket.Tests (1)
System.Transactions.Local (1)
System.Windows.Forms (2)
System.Windows.Forms.Primitives (1)
vbc (1)
VBCSCompiler (1)
vstest.console (1)
vstest.console.arm64 (1)