10 references to GetCurrentMSBuildRuntime
Microsoft.Build (6)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
1783[XMakeAttributes.runtime] = XMakeAttributes.GetCurrentMSBuildRuntime(),
Instance\TaskFactories\AssemblyTaskFactory.cs (1)
393mergedParameters[XMakeAttributes.runtime] = XMakeAttributes.GetCurrentMSBuildRuntime();
XMakeAttributes.cs (4)
190if ((runtimeA.Equals(MSBuildRuntimeValues.currentRuntime, StringComparison.OrdinalIgnoreCase) && runtimeB.Equals(GetCurrentMSBuildRuntime(), StringComparison.OrdinalIgnoreCase)) || 191(runtimeA.Equals(GetCurrentMSBuildRuntime(), StringComparison.OrdinalIgnoreCase) && runtimeB.Equals(MSBuildRuntimeValues.currentRuntime, StringComparison.OrdinalIgnoreCase))) 227string actualCurrentRuntime = GetCurrentMSBuildRuntime(); 332return GetCurrentMSBuildRuntime();
Microsoft.Build.Engine.UnitTests (4)
BackEnd\AssemblyTaskFactory_Tests.cs (3)
183taskIdentityParameters.Add(XMakeAttributes.runtime, XMakeAttributes.GetCurrentMSBuildRuntime()); 312taskParameters.Add(XMakeAttributes.runtime, XMakeAttributes.GetCurrentMSBuildRuntime()); 415factoryParameters.Add(XMakeAttributes.runtime, XMakeAttributes.GetCurrentMSBuildRuntime());
XmakeAttributes_Tests.cs (1)
94mergedRuntime.ShouldBe(XMakeAttributes.GetCurrentMSBuildRuntime());