7 references to TryMergeArchitectureValues
Microsoft.Build (1)
Instance\TaskFactories\AssemblyTaskFactory.cs (1)
594
if (!XMakeAttributes.
TryMergeArchitectureValues
(taskArchitecture, usingTaskArchitecture, out mergedArchitecture))
Microsoft.Build.Engine.UnitTests (6)
XmakeAttributes_Tests.cs (6)
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));
160
Assert.True(XMakeAttributes.
TryMergeArchitectureValues
(XMakeAttributes.MSBuildArchitectureValues.currentArchitecture, currentArchitecture, out mergedArchitecture));
163
Assert.False(XMakeAttributes.
TryMergeArchitectureValues
(XMakeAttributes.MSBuildArchitectureValues.currentArchitecture, notCurrentArchitecture, out mergedArchitecture));
164
Assert.False(XMakeAttributes.
TryMergeArchitectureValues
(XMakeAttributes.MSBuildArchitectureValues.x64, XMakeAttributes.MSBuildArchitectureValues.x86, out mergedArchitecture));