629 references to RuntimeInformation
aspire (29)
Aspire.Cli.Tests (5)
Aspire.Dashboard (1)
Aspire.EndToEnd.Tests (6)
Aspire.Hosting (1)
Aspire.Hosting.CodeGeneration.Python (3)
Aspire.Hosting.DevTunnels (1)
Aspire.Templates.Tests (6)
crossgen2 (7)
Crossgen2Tasks (13)
dotnet (39)
dotnet-aot (20)
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 (3)
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.Tasks.CodeAnalysis (1)
Microsoft.Build.Tasks.Core (1)
Microsoft.CodeAnalysis (6)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Microsoft.CodeAnalysis.Scripting (1)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.CodeAnalysis.Workspaces (4)
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
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 (2)
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.Tests (13)
..\..\..\..\test\Libraries\Microsoft.Extensions.AI.Evaluation.Reporting.Tests\DiskBased\PathValidationTests.cs (13)
73if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
262Assert.SkipUnless(RuntimeInformation.IsOSPlatform(OSPlatform.Windows), "Skipped on Linux/macOS");
275Assert.SkipUnless(RuntimeInformation.IsOSPlatform(OSPlatform.Windows), "Skipped on Linux/macOS");
287Assert.SkipUnless(RuntimeInformation.IsOSPlatform(OSPlatform.Windows), "Skipped on Linux/macOS");
299Assert.SkipUnless(RuntimeInformation.IsOSPlatform(OSPlatform.Windows), "Skipped on Linux/macOS");
311Assert.SkipUnless(RuntimeInformation.IsOSPlatform(OSPlatform.Windows), "Skipped on Linux/macOS");
327Assert.SkipUnless(RuntimeInformation.IsOSPlatform(OSPlatform.Windows), "Skipped on Linux/macOS");
376Assert.SkipUnless(RuntimeInformation.IsOSPlatform(OSPlatform.Windows), "Skipped on Linux/macOS");
415Assert.SkipUnless(RuntimeInformation.IsOSPlatform(OSPlatform.Windows), "Skipped on Linux/macOS");
432if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
449Assert.SkipUnless(RuntimeInformation.IsOSPlatform(OSPlatform.Windows), "Skipped on Linux/macOS");
462Assert.SkipUnless(RuntimeInformation.IsOSPlatform(OSPlatform.Windows), "Skipped on Linux/macOS");
474Assert.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)
..\..\..\..\test\Libraries\Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests\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.OneDal (2)
Microsoft.ML.Predictor.Tests (3)
Microsoft.ML.StandardTrainers (1)
Microsoft.ML.Sweeper (1)
Microsoft.ML.TestFramework (20)
Microsoft.ML.TestFrameworkCommon (13)
Microsoft.ML.Tests (11)
Microsoft.NET.Build.Containers (6)
Microsoft.NET.Build.Tasks (20)
Microsoft.NET.HostModel (4)
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 (4)
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 (2)
System.Net.Sockets (2)
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.NetFramingBase (1)
System.ServiceModel.NetNamedPipe (4)
System.ServiceModel.Primitives (9)
System.ServiceModel.UnixDomainSocket (3)
System.ServiceModel.UnixDomainSocket.Tests (1)
System.Transactions.Local (1)
System.Windows.Forms (2)
System.Windows.Forms.Primitives (1)
vstest.console (1)
vstest.console.arm64 (1)