85 references to ProcessorArchitectures
Microsoft.Build (10)
BuildEnvironmentHelper.cs (5)
374NativeMethodsShared.ProcessorArchitecture == Framework.NativeMethods.ProcessorArchitectures.X64 ? "amd64" : 375NativeMethodsShared.ProcessorArchitecture == Framework.NativeMethods.ProcessorArchitectures.ARM64 ? "arm64" : string.Empty, 582NativeMethodsShared.ProcessorArchitectures.X86 => CurrentMSBuildToolsDirectory, 583NativeMethodsShared.ProcessorArchitectures.X64 or NativeMethodsShared.ProcessorArchitectures.ARM64
MSBuildNameIgnoreCaseComparer.cs (5)
25private static readonly NativeMethodsShared.ProcessorArchitectures s_runningProcessorArchitecture = NativeMethodsShared.ProcessorArchitecture; 72if ((s_runningProcessorArchitecture != NativeMethodsShared.ProcessorArchitectures.IA64) 73&& (s_runningProcessorArchitecture != NativeMethodsShared.ProcessorArchitectures.ARM)) 119if ((s_runningProcessorArchitecture != NativeMethodsShared.ProcessorArchitectures.IA64) 120&& (s_runningProcessorArchitecture != NativeMethodsShared.ProcessorArchitectures.ARM))
Microsoft.Build.Engine.OM.UnitTests (5)
BuildEnvironmentHelper.cs (5)
374NativeMethodsShared.ProcessorArchitecture == Framework.NativeMethods.ProcessorArchitectures.X64 ? "amd64" : 375NativeMethodsShared.ProcessorArchitecture == Framework.NativeMethods.ProcessorArchitectures.ARM64 ? "arm64" : string.Empty, 582NativeMethodsShared.ProcessorArchitectures.X86 => CurrentMSBuildToolsDirectory, 583NativeMethodsShared.ProcessorArchitectures.X64 or NativeMethodsShared.ProcessorArchitectures.ARM64
Microsoft.Build.Framework (15)
NativeMethods.cs (15)
417public readonly ProcessorArchitectures ProcessorArchitectureType; 422public readonly ProcessorArchitectures ProcessorArchitectureTypeNative; 429private static ProcessorArchitectures ConvertSystemArchitecture(ushort arch) 433PROCESSOR_ARCHITECTURE_INTEL => ProcessorArchitectures.X86, 434PROCESSOR_ARCHITECTURE_AMD64 => ProcessorArchitectures.X64, 435PROCESSOR_ARCHITECTURE_ARM => ProcessorArchitectures.ARM, 436PROCESSOR_ARCHITECTURE_IA64 => ProcessorArchitectures.IA64, 437PROCESSOR_ARCHITECTURE_ARM64 => ProcessorArchitectures.ARM64, 438_ => ProcessorArchitectures.Unknown, 447ProcessorArchitectureType = ProcessorArchitectures.Unknown; 448ProcessorArchitectureTypeNative = ProcessorArchitectures.Unknown; 462ProcessorArchitectures processorArchitecture = ProcessorArchitectures.Unknown; 954internal static ProcessorArchitectures ProcessorArchitecture => SystemInformation.ProcessorArchitectureType; 959internal static ProcessorArchitectures ProcessorArchitectureNative => SystemInformation.ProcessorArchitectureTypeNative;
Microsoft.Build.Tasks.Core (10)
BuildEnvironmentHelper.cs (5)
374NativeMethodsShared.ProcessorArchitecture == Framework.NativeMethods.ProcessorArchitectures.X64 ? "amd64" : 375NativeMethodsShared.ProcessorArchitecture == Framework.NativeMethods.ProcessorArchitectures.ARM64 ? "arm64" : string.Empty, 582NativeMethodsShared.ProcessorArchitectures.X86 => CurrentMSBuildToolsDirectory, 583NativeMethodsShared.ProcessorArchitectures.X64 or NativeMethodsShared.ProcessorArchitectures.ARM64
MSBuildNameIgnoreCaseComparer.cs (5)
25private static readonly NativeMethodsShared.ProcessorArchitectures s_runningProcessorArchitecture = NativeMethodsShared.ProcessorArchitecture; 72if ((s_runningProcessorArchitecture != NativeMethodsShared.ProcessorArchitectures.IA64) 73&& (s_runningProcessorArchitecture != NativeMethodsShared.ProcessorArchitectures.ARM)) 119if ((s_runningProcessorArchitecture != NativeMethodsShared.ProcessorArchitectures.IA64) 120&& (s_runningProcessorArchitecture != NativeMethodsShared.ProcessorArchitectures.ARM))
Microsoft.Build.Utilities.Core (25)
BuildEnvironmentHelper.cs (5)
374NativeMethodsShared.ProcessorArchitecture == Framework.NativeMethods.ProcessorArchitectures.X64 ? "amd64" : 375NativeMethodsShared.ProcessorArchitecture == Framework.NativeMethods.ProcessorArchitectures.ARM64 ? "arm64" : string.Empty, 582NativeMethodsShared.ProcessorArchitectures.X86 => CurrentMSBuildToolsDirectory, 583NativeMethodsShared.ProcessorArchitectures.X64 or NativeMethodsShared.ProcessorArchitectures.ARM64
MSBuildNameIgnoreCaseComparer.cs (5)
25private static readonly NativeMethodsShared.ProcessorArchitectures s_runningProcessorArchitecture = NativeMethodsShared.ProcessorArchitecture; 72if ((s_runningProcessorArchitecture != NativeMethodsShared.ProcessorArchitectures.IA64) 73&& (s_runningProcessorArchitecture != NativeMethodsShared.ProcessorArchitectures.ARM)) 119if ((s_runningProcessorArchitecture != NativeMethodsShared.ProcessorArchitectures.IA64) 120&& (s_runningProcessorArchitecture != NativeMethodsShared.ProcessorArchitectures.ARM))
ProcessorArchitecture.cs (10)
86NativeMethodsShared.ProcessorArchitectures.X86 => X86, 87NativeMethodsShared.ProcessorArchitectures.X64 => AMD64, 88NativeMethodsShared.ProcessorArchitectures.IA64 => IA64, 89NativeMethodsShared.ProcessorArchitectures.ARM => ARM, 90NativeMethodsShared.ProcessorArchitectures.ARM64 => ARM64, 91NativeMethodsShared.ProcessorArchitectures.WASM => WASM, 92NativeMethodsShared.ProcessorArchitectures.S390X => S390X, 93NativeMethodsShared.ProcessorArchitectures.LOONGARCH64 => LOONGARCH64, 94NativeMethodsShared.ProcessorArchitectures.ARMV6 => ARMV6, 95NativeMethodsShared.ProcessorArchitectures.PPC64LE => PPC64LE,
ToolLocationHelper.cs (5)
3388NativeMethodsShared.ProcessorArchitectures.X64 => ProcessorArchitecture.AMD64, 3389NativeMethodsShared.ProcessorArchitectures.IA64 => ProcessorArchitecture.IA64, 3390NativeMethodsShared.ProcessorArchitectures.ARM64 => ProcessorArchitecture.ARM64, 3393NativeMethodsShared.ProcessorArchitectures.X86 => null, 3394NativeMethodsShared.ProcessorArchitectures.ARM => null,
Microsoft.Build.Utilities.UnitTests (10)
ProcessorArchitecture_Tests.cs (10)
20NativeMethodsShared.ProcessorArchitectures.X86 => ProcessorArchitecture.X86, 21NativeMethodsShared.ProcessorArchitectures.X64 => ProcessorArchitecture.AMD64, 22NativeMethodsShared.ProcessorArchitectures.IA64 => ProcessorArchitecture.IA64, 23NativeMethodsShared.ProcessorArchitectures.ARM => ProcessorArchitecture.ARM, 24NativeMethodsShared.ProcessorArchitectures.ARM64 => ProcessorArchitecture.ARM64, 25NativeMethodsShared.ProcessorArchitectures.WASM => ProcessorArchitecture.WASM, 26NativeMethodsShared.ProcessorArchitectures.S390X => ProcessorArchitecture.S390X, 27NativeMethodsShared.ProcessorArchitectures.LOONGARCH64 => ProcessorArchitecture.LOONGARCH64, 28NativeMethodsShared.ProcessorArchitectures.ARMV6 => ProcessorArchitecture.ARMV6, 29NativeMethodsShared.ProcessorArchitectures.PPC64LE => ProcessorArchitecture.PPC64LE,
MSBuild (10)
BuildEnvironmentHelper.cs (5)
374NativeMethodsShared.ProcessorArchitecture == Framework.NativeMethods.ProcessorArchitectures.X64 ? "amd64" : 375NativeMethodsShared.ProcessorArchitecture == Framework.NativeMethods.ProcessorArchitectures.ARM64 ? "arm64" : string.Empty, 582NativeMethodsShared.ProcessorArchitectures.X86 => CurrentMSBuildToolsDirectory, 583NativeMethodsShared.ProcessorArchitectures.X64 or NativeMethodsShared.ProcessorArchitectures.ARM64
MSBuildNameIgnoreCaseComparer.cs (5)
25private static readonly NativeMethodsShared.ProcessorArchitectures s_runningProcessorArchitecture = NativeMethodsShared.ProcessorArchitecture; 72if ((s_runningProcessorArchitecture != NativeMethodsShared.ProcessorArchitectures.IA64) 73&& (s_runningProcessorArchitecture != NativeMethodsShared.ProcessorArchitectures.ARM)) 119if ((s_runningProcessorArchitecture != NativeMethodsShared.ProcessorArchitectures.IA64) 120&& (s_runningProcessorArchitecture != NativeMethodsShared.ProcessorArchitectures.ARM))