11 references to RuntimeValuesMatch
Microsoft.Build (2)
Instance\TaskFactories\AssemblyTaskFactory.cs (1)
532
if (XMakeAttributes.
RuntimeValuesMatch
(taskRuntime, usingTaskRuntime))
Instance\TaskRegistry.cs (1)
1034
if (!XMakeAttributes.
RuntimeValuesMatch
(runtimeX, runtimeY))
Microsoft.Build.Engine.UnitTests (9)
XmakeAttributes_Tests.cs (9)
54
Assert.True(XMakeAttributes.
RuntimeValuesMatch
(XMakeAttributes.MSBuildRuntimeValues.any, XMakeAttributes.MSBuildRuntimeValues.currentRuntime));
55
Assert.True(XMakeAttributes.
RuntimeValuesMatch
(XMakeAttributes.MSBuildRuntimeValues.any, XMakeAttributes.MSBuildRuntimeValues.net));
56
Assert.True(XMakeAttributes.
RuntimeValuesMatch
(XMakeAttributes.MSBuildRuntimeValues.any, XMakeAttributes.MSBuildRuntimeValues.clr4));
57
Assert.True(XMakeAttributes.
RuntimeValuesMatch
(XMakeAttributes.MSBuildRuntimeValues.clr2, XMakeAttributes.MSBuildRuntimeValues.any));
59
Assert.True(XMakeAttributes.
RuntimeValuesMatch
(XMakeAttributes.MSBuildRuntimeValues.currentRuntime, XMakeAttributes.MSBuildRuntimeValues.net));
65
Assert.False(XMakeAttributes.
RuntimeValuesMatch
(XMakeAttributes.MSBuildRuntimeValues.currentRuntime, XMakeAttributes.MSBuildRuntimeValues.clr2));
67
Assert.False(XMakeAttributes.
RuntimeValuesMatch
(XMakeAttributes.MSBuildRuntimeValues.clr4, XMakeAttributes.MSBuildRuntimeValues.clr2));
68
Assert.False(XMakeAttributes.
RuntimeValuesMatch
(XMakeAttributes.MSBuildRuntimeValues.clr4, XMakeAttributes.MSBuildRuntimeValues.net));
69
Assert.False(XMakeAttributes.
RuntimeValuesMatch
(XMakeAttributes.MSBuildRuntimeValues.clr2, XMakeAttributes.MSBuildRuntimeValues.net));