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