52 references to Is64BitProcess
crossgen2 (1)
Crossgen2RootCommand.cs (1)
372if (!Environment.Is64BitProcess)
dotnet (2)
src\sdk\src\Common\EnvironmentVariableNames.cs (2)
67=> TryGetDotNetRootVariableNameImpl(runtimeIdentifier, defaultAppHostRuntimeIdentifier, targetFrameworkVersion, RuntimeInformation.ProcessArchitecture, Environment.Is64BitProcess); 88=> TryGetDotNetRootVariableNameImpl(runtimeIdentifier, defaultAppHostRuntimeIdentifier, null, RuntimeInformation.ProcessArchitecture, Environment.Is64BitProcess, onlyUseArchSpecific: true);
ilc (1)
ILCompilerRootCommand.cs (1)
403if (!Environment.Is64BitProcess)
Microsoft.Build (1)
Logging\BinaryLogger\BuildEventArgsReader.cs (1)
1864if (!Environment.Is64BitProcess)
Microsoft.Build.Framework (1)
DebugUtils.cs (1)
124private static string GetProcessInfoString() => $"{(ProcessNodeMode.Value?.ToString() ?? "CentralNode")}_{EnvironmentUtilities.ProcessName}_PID={EnvironmentUtilities.CurrentProcessId}_x{(Environment.Is64BitProcess ? "64" : "86")}";
Microsoft.Build.Tasks.Core (2)
ManifestUtil\ComImporter.cs (1)
208if (Environment.Is64BitProcess)
ManifestUtil\SecurityUtil.cs (1)
720Environment.Is64BitProcess ? "Framework64" : "Framework",
Microsoft.DotNet.TemplateLocator (2)
src\sdk\src\Common\EnvironmentVariableNames.cs (2)
67=> TryGetDotNetRootVariableNameImpl(runtimeIdentifier, defaultAppHostRuntimeIdentifier, targetFrameworkVersion, RuntimeInformation.ProcessArchitecture, Environment.Is64BitProcess); 88=> TryGetDotNetRootVariableNameImpl(runtimeIdentifier, defaultAppHostRuntimeIdentifier, null, RuntimeInformation.ProcessArchitecture, Environment.Is64BitProcess, onlyUseArchSpecific: true);
Microsoft.ML.OnnxTransformerTest (2)
DnnImageFeaturizerTest.cs (2)
62if (!Environment.Is64BitProcess) 138if (!Environment.Is64BitProcess)
Microsoft.ML.TestFramework (7)
Attributes\LightGBMFactAttribute.cs (1)
23return Environment.Is64BitProcess && NativeLibrary.NativeLibraryExists("lib_lightgbm");
Attributes\LightGBMTheoryAttribute.cs (1)
23return Environment.Is64BitProcess && NativeLibrary.NativeLibraryExists("lib_lightgbm");
Attributes\TensorflowFactAttribute.cs (1)
23return (Environment.Is64BitProcess &&
Attributes\TensorflowTheoryAttribute.cs (1)
23return (Environment.Is64BitProcess &&
Attributes\TorchSharpFactAttribute.cs (1)
28return (Environment.Is64BitProcess &&
BaseTestBaseline.cs (2)
150if (!Environment.Is64BitProcess) 166if (Environment.Is64BitProcess)
Microsoft.ML.TestFrameworkCommon (1)
Attributes\X64FactAttribute.cs (1)
22return Environment.Is64BitProcess && System.Runtime.InteropServices.RuntimeInformation.ProcessArchitecture == System.Runtime.InteropServices.Architecture.X64;
Microsoft.ML.Tests (6)
OnnxConversionTest.cs (6)
199if (Environment.Is64BitProcess && NativeLibrary.NativeLibraryExists("lib_lightgbm")) 240if (Environment.Is64BitProcess && NativeLibrary.NativeLibraryExists("lib_lightgbm")) 295if (Environment.Is64BitProcess) 1673if (Environment.Is64BitProcess && NativeLibrary.NativeLibraryExists("lib_lightgbm")) 1951if (Environment.Is64BitProcess && NativeLibrary.NativeLibraryExists("lib_lightgbm")) 2000if (Environment.Is64BitProcess && NativeLibrary.NativeLibraryExists("lib_lightgbm"))
Microsoft.NET.Build.Tasks (2)
src\sdk\src\Common\EnvironmentVariableNames.cs (2)
67=> TryGetDotNetRootVariableNameImpl(runtimeIdentifier, defaultAppHostRuntimeIdentifier, targetFrameworkVersion, RuntimeInformation.ProcessArchitecture, Environment.Is64BitProcess); 88=> TryGetDotNetRootVariableNameImpl(runtimeIdentifier, defaultAppHostRuntimeIdentifier, null, RuntimeInformation.ProcessArchitecture, Environment.Is64BitProcess, onlyUseArchSpecific: true);
Microsoft.NET.Sdk.Publish.Tasks (3)
src\sdk\src\Common\EnvironmentVariableNames.cs (2)
67=> TryGetDotNetRootVariableNameImpl(runtimeIdentifier, defaultAppHostRuntimeIdentifier, targetFrameworkVersion, RuntimeInformation.ProcessArchitecture, Environment.Is64BitProcess); 88=> TryGetDotNetRootVariableNameImpl(runtimeIdentifier, defaultAppHostRuntimeIdentifier, null, RuntimeInformation.ProcessArchitecture, Environment.Is64BitProcess, onlyUseArchSpecific: true);
Tasks\MsDeploy\MSDeploy.cs (1)
272if (!Environment.Is64BitOperatingSystem || Environment.Is64BitProcess)
Microsoft.NET.Sdk.WorkloadManifestReader (2)
src\sdk\src\Common\EnvironmentVariableNames.cs (2)
67=> TryGetDotNetRootVariableNameImpl(runtimeIdentifier, defaultAppHostRuntimeIdentifier, targetFrameworkVersion, RuntimeInformation.ProcessArchitecture, Environment.Is64BitProcess); 88=> TryGetDotNetRootVariableNameImpl(runtimeIdentifier, defaultAppHostRuntimeIdentifier, null, RuntimeInformation.ProcessArchitecture, Environment.Is64BitProcess, onlyUseArchSpecific: true);
Microsoft.Private.Windows.Core (4)
Windows\Win32\PInvokeCore.GetClassLong.cs (1)
18=> Environment.Is64BitProcess
Windows\Win32\PInvokeCore.GetWindowLong.cs (1)
28nint result = Environment.Is64BitProcess
Windows\Win32\PInvokeCore.SetClassLong.cs (1)
16=> Environment.Is64BitProcess
Windows\Win32\PInvokeCore.SetWindowLong.cs (1)
17nint result = Environment.Is64BitProcess
PresentationCore (1)
System\Windows\Input\Stylus\Wisp\PenThreadWorker.cs (1)
198result.CommHandle = Environment.Is64BitProcess ? (nint)commHandle : (int)commHandle;
rzc (1)
ConnectionHost.cs (1)
63if (Environment.Is64BitProcess || Memory.IsMemoryAvailable())
System.IO.Compression (1)
System\IO\Compression\Zstandard\ZstandardUtils.cs (1)
18internal static int WindowLog_Max => Environment.Is64BitProcess ? 31 : 30; // 1GB or 2GB window, depending on platform
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Environment.cs (1)
211public static bool Is64BitOperatingSystem => Is64BitProcess || Is64BitOperatingSystemWhen32BitProcess;
System.Private.Windows.Core (4)
Windows\Win32\PInvokeCore.GetClassLong.cs (1)
18=> Environment.Is64BitProcess
Windows\Win32\PInvokeCore.GetWindowLong.cs (1)
28nint result = Environment.Is64BitProcess
Windows\Win32\PInvokeCore.SetClassLong.cs (1)
16=> Environment.Is64BitProcess
Windows\Win32\PInvokeCore.SetWindowLong.cs (1)
17nint result = Environment.Is64BitProcess
System.Runtime.Numerics (5)
System\Numerics\BigInteger.cs (5)
2193public static explicit operator nint(BigInteger value) => Environment.Is64BitProcess ? (nint)(long)value : (int)value; 2287public static explicit operator nuint(BigInteger value) => Environment.Is64BitProcess ? (nuint)(ulong)value : (uint)value; 3248if (Environment.Is64BitProcess && (uint)(value._bits[^1] >> BitsPerUInt32) == 0) 3304if (!Environment.Is64BitProcess) 3513Debug.Assert(!Environment.Is64BitProcess);
System.Windows.Forms.Primitives (1)
System\Windows\Forms\ObjectCache.cs (1)
19cacheSpace = Environment.Is64BitProcess ? 64 : 32;
VBCSCompiler (1)
src\roslyn\src\Compilers\Server\VBCSCompiler\ClientConnectionHandler.cs (1)
85if (!Environment.Is64BitProcess && !MemoryHelper.IsMemoryAvailable(Logger))