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