50 references to clr4
Microsoft.Build (4)
CommunicationsUtilities.cs (1)
631
else if (runtimeVersion.Equals(XMakeAttributes.MSBuildRuntimeValues.
clr4
, StringComparison.OrdinalIgnoreCase))
Evaluation\IntrinsicFunctions.cs (1)
477
ErrorUtilities.ThrowArgument("InvalidTaskHostFactoryParameter", runtime, "Runtime", XMakeAttributes.MSBuildRuntimeValues.clr2, XMakeAttributes.MSBuildRuntimeValues.
clr4
, XMakeAttributes.MSBuildRuntimeValues.currentRuntime, XMakeAttributes.MSBuildRuntimeValues.any);
Instance\TaskFactories\AssemblyTaskFactory.cs (1)
488
XMakeAttributes.MSBuildRuntimeValues.
clr4
,
XMakeAttributes.cs (1)
110
private static readonly HashSet<string> ValidMSBuildRuntimeValues = new HashSet<string>(StringComparer.OrdinalIgnoreCase) { MSBuildRuntimeValues.clr2, MSBuildRuntimeValues.
clr4
, MSBuildRuntimeValues.currentRuntime, MSBuildRuntimeValues.net, MSBuildRuntimeValues.any };
Microsoft.Build.Engine.UnitTests (46)
BackEnd\AssemblyTaskFactory_Tests.cs (1)
202
taskIdentityParameters.Add(XMakeAttributes.runtime, XMakeAttributes.MSBuildRuntimeValues.
clr4
);
BackEnd\TaskRegistry_Tests.cs (34)
524
runtime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
533
runtime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
551
runtime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
581
taskParameters.Add(XMakeAttributes.runtime, XMakeAttributes.MSBuildRuntimeValues.
clr4
);
715
expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
722
runtime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
726
expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
733
runtime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
737
expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
744
runtime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
757
expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
788
expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
804
runtime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
808
expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
845
expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
852
runtime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
856
expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
863
runtime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
867
expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
874
runtime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
889
expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
955
runtime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
967
runtime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
998
runtime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
1002
expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
1009
runtime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
1018
runtime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
1022
expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
1029
runtime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
1058
taskParameters.Add(XMakeAttributes.runtime, XMakeAttributes.MSBuildRuntimeValues.
clr4
);
1068
expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
1078
expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
1082
taskParameters.Add(XMakeAttributes.runtime, XMakeAttributes.MSBuildRuntimeValues.
clr4
);
1095
expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.
clr4
,
XmakeAttributes_Tests.cs (11)
56
Assert.True(XMakeAttributes.RuntimeValuesMatch(XMakeAttributes.MSBuildRuntimeValues.any, XMakeAttributes.MSBuildRuntimeValues.
clr4
));
67
Assert.False(XMakeAttributes.RuntimeValuesMatch(XMakeAttributes.MSBuildRuntimeValues.
clr4
, XMakeAttributes.MSBuildRuntimeValues.clr2));
68
Assert.False(XMakeAttributes.RuntimeValuesMatch(XMakeAttributes.MSBuildRuntimeValues.
clr4
, XMakeAttributes.MSBuildRuntimeValues.net));
73
[InlineData(XMakeAttributes.MSBuildRuntimeValues.any, XMakeAttributes.MSBuildRuntimeValues.
clr4
, true, XMakeAttributes.MSBuildRuntimeValues.
clr4
)]
74
[InlineData(XMakeAttributes.MSBuildRuntimeValues.
clr4
, XMakeAttributes.MSBuildRuntimeValues.any, true, XMakeAttributes.MSBuildRuntimeValues.
clr4
)]
77
[InlineData(XMakeAttributes.MSBuildRuntimeValues.
clr4
, XMakeAttributes.MSBuildRuntimeValues.clr2, false, null)]
102
XMakeAttributes.MSBuildRuntimeValues.
clr4
,
104
mergedRuntime.ShouldBe(XMakeAttributes.MSBuildRuntimeValues.
clr4
);
124
XMakeAttributes.MSBuildRuntimeValues.
clr4
,