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