46 references to clr4
Microsoft.Build (6)
CommunicationsUtilities.cs (1)
972else if (taskHostParameters.Runtime.Equals(XMakeAttributes.MSBuildRuntimeValues.clr4, StringComparison.OrdinalIgnoreCase))
Evaluation\IntrinsicFunctions.cs (1)
494ErrorUtilities.ThrowArgument("InvalidTaskHostFactoryParameter", runtime, "Runtime", XMakeAttributes.MSBuildRuntimeValues.clr2, XMakeAttributes.MSBuildRuntimeValues.clr4, XMakeAttributes.MSBuildRuntimeValues.currentRuntime, XMakeAttributes.MSBuildRuntimeValues.any);
Instance\TaskFactories\AssemblyTaskFactory.cs (1)
539XMakeAttributes.MSBuildRuntimeValues.clr4,
TypeLoader.cs (1)
628_runtime = targetFramework.StartsWith(DotNetCoreIdentifier) ? MSBuildRuntimeValues.net : MSBuildRuntimeValues.clr4;
XMakeAttributes.cs (2)
108private static readonly HashSet<string> ValidMSBuildRuntimeValues = new HashSet<string>(StringComparer.OrdinalIgnoreCase) { MSBuildRuntimeValues.clr2, MSBuildRuntimeValues.clr4, MSBuildRuntimeValues.currentRuntime, MSBuildRuntimeValues.net, MSBuildRuntimeValues.any }; 450return MSBuildRuntimeValues.clr4;
Microsoft.Build.Engine.UnitTests (40)
BackEnd\AssemblyTaskFactory_Tests.cs (1)
202TaskHostParameters taskIdentityParameters = new(XMakeAttributes.MSBuildRuntimeValues.clr4, XMakeAttributes.MSBuildArchitectureValues.currentArchitecture);
BackEnd\TaskRegistry_Tests.cs (28)
524runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 533runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 551runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 670expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 677runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 681expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 688runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 692expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 699runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 712expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 743expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 759runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 763expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 800expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 807runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 811expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 818runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 822expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 829runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 844expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 910runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 922runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 953runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 957expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 964runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 973runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 977expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 984runtime: 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,