50 references to clr4
Microsoft.Build (4)
CommunicationsUtilities.cs (1)
631else if (runtimeVersion.Equals(XMakeAttributes.MSBuildRuntimeValues.clr4, StringComparison.OrdinalIgnoreCase))
Evaluation\IntrinsicFunctions.cs (1)
477ErrorUtilities.ThrowArgument("InvalidTaskHostFactoryParameter", runtime, "Runtime", XMakeAttributes.MSBuildRuntimeValues.clr2, XMakeAttributes.MSBuildRuntimeValues.clr4, XMakeAttributes.MSBuildRuntimeValues.currentRuntime, XMakeAttributes.MSBuildRuntimeValues.any);
Instance\TaskFactories\AssemblyTaskFactory.cs (1)
488XMakeAttributes.MSBuildRuntimeValues.clr4,
XMakeAttributes.cs (1)
110private 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)
202taskIdentityParameters.Add(XMakeAttributes.runtime, XMakeAttributes.MSBuildRuntimeValues.clr4);
BackEnd\TaskRegistry_Tests.cs (34)
524runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 533runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 551runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 581taskParameters.Add(XMakeAttributes.runtime, XMakeAttributes.MSBuildRuntimeValues.clr4); 715expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 722runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 726expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 733runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 737expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 744runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 757expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 788expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 804runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 808expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 845expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 852runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 856expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 863runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 867expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 874runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 889expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 955runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 967runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 998runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 1002expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 1009runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 1018runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 1022expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 1029runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 1058taskParameters.Add(XMakeAttributes.runtime, XMakeAttributes.MSBuildRuntimeValues.clr4); 1068expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 1078expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 1082taskParameters.Add(XMakeAttributes.runtime, XMakeAttributes.MSBuildRuntimeValues.clr4); 1095expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4,
XmakeAttributes_Tests.cs (11)
56Assert.True(XMakeAttributes.RuntimeValuesMatch(XMakeAttributes.MSBuildRuntimeValues.any, XMakeAttributes.MSBuildRuntimeValues.clr4)); 67Assert.False(XMakeAttributes.RuntimeValuesMatch(XMakeAttributes.MSBuildRuntimeValues.clr4, XMakeAttributes.MSBuildRuntimeValues.clr2)); 68Assert.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)] 102XMakeAttributes.MSBuildRuntimeValues.clr4, 104mergedRuntime.ShouldBe(XMakeAttributes.MSBuildRuntimeValues.clr4); 124XMakeAttributes.MSBuildRuntimeValues.clr4,