8 references to ArchitectureValuesMatch
Microsoft.Build (2)
Instance\TaskFactories\AssemblyTaskFactory.cs (1)
538
if (XMakeAttributes.
ArchitectureValuesMatch
(taskArchitecture, usingTaskArchitecture))
Instance\TaskRegistry.cs (1)
1039
if (!XMakeAttributes.
ArchitectureValuesMatch
(architectureX, architectureY))
Microsoft.Build.Engine.UnitTests (6)
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));
138
Assert.True(XMakeAttributes.
ArchitectureValuesMatch
(XMakeAttributes.MSBuildArchitectureValues.currentArchitecture, currentArchitecture));
140
Assert.False(XMakeAttributes.
ArchitectureValuesMatch
(XMakeAttributes.MSBuildArchitectureValues.currentArchitecture, notCurrentArchitecture));
141
Assert.False(XMakeAttributes.
ArchitectureValuesMatch
(XMakeAttributes.MSBuildArchitectureValues.x64, XMakeAttributes.MSBuildArchitectureValues.x86));