47 references to clr4
Microsoft.Build (3)
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)
528XMakeAttributes.MSBuildRuntimeValues.clr4,
TypeLoader.cs (1)
628_runtime = targetFramework.StartsWith(DotNetCoreIdentifier) ? MSBuildRuntimeValues.net : 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)
523runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 532runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 550runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 669expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 676runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 680expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 687runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 691expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 698runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 711expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 742expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 758runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 762expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 799expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 806runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 810expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 817runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 821expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 828runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 843expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 909runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 921runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 952runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 956expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 963runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 972runtime: XMakeAttributes.MSBuildRuntimeValues.clr4, 976expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.clr4, 983runtime: 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,
Microsoft.Build.Framework (3)
BackEnd\CommunicationsUtilities.cs (1)
578else if (taskHostParameters.Runtime.Equals(XMakeAttributes.MSBuildRuntimeValues.clr4, StringComparison.OrdinalIgnoreCase))
XMakeAttributes.cs (2)
109private static readonly HashSet<string> ValidMSBuildRuntimeValues = new HashSet<string>(StringComparer.OrdinalIgnoreCase) { MSBuildRuntimeValues.clr2, MSBuildRuntimeValues.clr4, MSBuildRuntimeValues.currentRuntime, MSBuildRuntimeValues.net, MSBuildRuntimeValues.any }; 451return MSBuildRuntimeValues.clr4;
MSBuild (1)
TypeLoader.cs (1)
628_runtime = targetFramework.StartsWith(DotNetCoreIdentifier) ? MSBuildRuntimeValues.net : MSBuildRuntimeValues.clr4;