21 references to OSArchitecture
Crossgen2Tasks (6)
ResolveReadyToRunCompilers.cs (6)
253if (RuntimeInformation.OSArchitecture == _targetArchitecture) 270if (RuntimeInformation.OSArchitecture == _targetArchitecture) 279if (RuntimeInformation.OSArchitecture != Architecture.X64) 306if (_targetArchitecture != Architecture.X64 || RuntimeInformation.OSArchitecture != Architecture.X64) 319if (RuntimeInformation.OSArchitecture == _targetArchitecture) 324else if (RuntimeInformation.OSArchitecture == Architecture.X64)
Interop.FunctionalTests (3)
H2SpecCommands.cs (1)
48if (RuntimeInformation.OSArchitecture != Architecture.X64)
SkipOnArchitectureAttribute.cs (2)
21public bool IsMet => (Array.IndexOf(_excludedArchitectures, RuntimeInformation.OSArchitecture) == -1); 23public string SkipReason => $"This test is running on {RuntimeInformation.OSArchitecture} which is marked as to be skipped.";
Microsoft.AspNetCore.Server.IntegrationTesting (9)
Common\DotNetCommands.cs (2)
88return (RuntimeInformation.OSArchitecture == Architecture.X64 || RuntimeInformation.OSArchitecture == Architecture.Arm64)
Common\RuntimeArchitectures.cs (2)
14return RuntimeInformation.OSArchitecture switch 21_ => throw new NotImplementedException($"Unknown RuntimeInformation.OSArchitecture: {RuntimeInformation.OSArchitecture.ToString()}"),
TestMatrix.cs (3)
60if (RuntimeInformation.OSArchitecture == Architecture.X64) 253return (RuntimeInformation.OSArchitecture == Architecture.Arm || RuntimeInformation.OSArchitecture == Architecture.X86)
xunit\SkipOn32BitOSAttribute.cs (2)
16RuntimeInformation.OSArchitecture == Architecture.Arm64 17|| RuntimeInformation.OSArchitecture == Architecture.X64;
Microsoft.Build.Engine.UnitTests (1)
Evaluation\Expander_Tests.cs (1)
2888var currentArchitectureString = RuntimeInformation.OSArchitecture.ToString();
Microsoft.DotNet.Arcade.Sdk (2)
src\InstallDotNetCore.cs (2)
197else if (RuntimeInformation.OSArchitecture == Architecture.X86 || 198RuntimeInformation.OSArchitecture == Architecture.X64)