38 references to any
Microsoft.Build (17)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
535msbuildArchitecture = msbuildArchitecture == String.Empty ? XMakeAttributes.MSBuildArchitectureValues.any : msbuildArchitecture.Trim();
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (2)
905usingTaskArchitecture ?? XMakeAttributes.MSBuildArchitectureValues.any, 907taskArchitecture ?? XMakeAttributes.MSBuildArchitectureValues.any);
Evaluation\IntrinsicFunctions.cs (1)
482ErrorUtilities.ThrowArgument("InvalidTaskHostFactoryParameter", architecture, "Architecture", XMakeAttributes.MSBuildArchitectureValues.x86, XMakeAttributes.MSBuildArchitectureValues.x64, XMakeAttributes.MSBuildArchitectureValues.currentArchitecture, XMakeAttributes.MSBuildArchitectureValues.any);
Instance\TaskFactories\AssemblyTaskFactory.cs (1)
508XMakeAttributes.MSBuildArchitectureValues.any);
Instance\TaskRegistry.cs (1)
441taskFactoryParameters.Add(XMakeAttributes.architecture, architecture == String.Empty ? XMakeAttributes.MSBuildArchitectureValues.any : architecture);
XMakeAttributes.cs (11)
112private static readonly HashSet<string> ValidMSBuildArchitectureValues = new HashSet<string>(StringComparer.OrdinalIgnoreCase) { MSBuildArchitectureValues.x86, MSBuildArchitectureValues.x64, MSBuildArchitectureValues.arm64, MSBuildArchitectureValues.currentArchitecture, MSBuildArchitectureValues.any }; 301if (architectureA.Equals(MSBuildArchitectureValues.any, StringComparison.OrdinalIgnoreCase) || architectureB.Equals(MSBuildArchitectureValues.any, StringComparison.OrdinalIgnoreCase)) 359architectureA = MSBuildArchitectureValues.any; 364architectureB = MSBuildArchitectureValues.any; 373architectureA.Equals(MSBuildArchitectureValues.any, StringComparison.OrdinalIgnoreCase)) 390architectureA.Equals(MSBuildArchitectureValues.any, StringComparison.OrdinalIgnoreCase)) && 394architectureB.Equals(MSBuildArchitectureValues.any, StringComparison.OrdinalIgnoreCase))) 403if (architectureA.Equals(MSBuildArchitectureValues.any, StringComparison.OrdinalIgnoreCase)) 410if (architectureB.Equals(MSBuildArchitectureValues.any, StringComparison.OrdinalIgnoreCase)) 476MSBuildArchitectureValues.any.Equals(architecture, StringComparison.OrdinalIgnoreCase) ||
Microsoft.Build.Engine.UnitTests (21)
BackEnd\AssemblyTaskFactory_Tests.cs (8)
277taskParameters.Add(XMakeAttributes.architecture, XMakeAttributes.MSBuildArchitectureValues.any); 339taskParameters.Add(XMakeAttributes.architecture, XMakeAttributes.MSBuildArchitectureValues.any); 440taskParameters.Add(XMakeAttributes.architecture, XMakeAttributes.MSBuildArchitectureValues.any); 473taskParameters.Add(XMakeAttributes.architecture, XMakeAttributes.MSBuildArchitectureValues.any); 508taskParameters.Add(XMakeAttributes.architecture, XMakeAttributes.MSBuildArchitectureValues.any); 568taskParameters.Add(XMakeAttributes.architecture, XMakeAttributes.MSBuildArchitectureValues.any); 603taskParameters.Add(XMakeAttributes.architecture, XMakeAttributes.MSBuildArchitectureValues.any); 632factoryParameters.Add(XMakeAttributes.architecture, XMakeAttributes.MSBuildArchitectureValues.any);
BackEnd\TaskRegistry_Tests.cs (7)
525architecture: XMakeAttributes.MSBuildArchitectureValues.any, 734architecture: XMakeAttributes.MSBuildArchitectureValues.any, 864architecture: XMakeAttributes.MSBuildArchitectureValues.any, 968architecture: XMakeAttributes.MSBuildArchitectureValues.any, 999architecture: XMakeAttributes.MSBuildArchitectureValues.any, 1019architecture: XMakeAttributes.MSBuildArchitectureValues.any, 2059{XMakeAttributes.architecture, architecture ?? XMakeAttributes.MSBuildArchitectureValues.any}
XmakeAttributes_Tests.cs (6)
135Assert.True(XMakeAttributes.ArchitectureValuesMatch(XMakeAttributes.MSBuildArchitectureValues.any, XMakeAttributes.MSBuildArchitectureValues.currentArchitecture)); 136Assert.True(XMakeAttributes.ArchitectureValuesMatch(XMakeAttributes.MSBuildArchitectureValues.any, XMakeAttributes.MSBuildArchitectureValues.x64)); 137Assert.True(XMakeAttributes.ArchitectureValuesMatch(XMakeAttributes.MSBuildArchitectureValues.x86, XMakeAttributes.MSBuildArchitectureValues.any)); 151Assert.True(XMakeAttributes.TryMergeArchitectureValues(XMakeAttributes.MSBuildArchitectureValues.any, XMakeAttributes.MSBuildArchitectureValues.currentArchitecture, out mergedArchitecture)); 154Assert.True(XMakeAttributes.TryMergeArchitectureValues(XMakeAttributes.MSBuildArchitectureValues.any, XMakeAttributes.MSBuildArchitectureValues.x64, out mergedArchitecture)); 157Assert.True(XMakeAttributes.TryMergeArchitectureValues(XMakeAttributes.MSBuildArchitectureValues.x86, XMakeAttributes.MSBuildArchitectureValues.any, out mergedArchitecture));