41 references to any
Microsoft.Build (17)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
536
msbuildRuntime = msbuildRuntime == String.Empty ? XMakeAttributes.MSBuildRuntimeValues.
any
: msbuildRuntime.Trim();
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (2)
904
usingTaskRuntime ?? XMakeAttributes.MSBuildRuntimeValues.
any
,
906
taskRuntime ?? XMakeAttributes.MSBuildRuntimeValues.
any
,
Evaluation\IntrinsicFunctions.cs (1)
477
ErrorUtilities.ThrowArgument("InvalidTaskHostFactoryParameter", runtime, "Runtime", XMakeAttributes.MSBuildRuntimeValues.clr2, XMakeAttributes.MSBuildRuntimeValues.clr4, XMakeAttributes.MSBuildRuntimeValues.currentRuntime, XMakeAttributes.MSBuildRuntimeValues.
any
);
Instance\TaskFactories\AssemblyTaskFactory.cs (1)
490
XMakeAttributes.MSBuildRuntimeValues.
any
);
Instance\TaskRegistry.cs (1)
440
taskFactoryParameters.Add(XMakeAttributes.runtime, runtime == String.Empty ? XMakeAttributes.MSBuildRuntimeValues.
any
: runtime);
XMakeAttributes.cs (11)
110
private static readonly HashSet<string> ValidMSBuildRuntimeValues = new HashSet<string>(StringComparer.OrdinalIgnoreCase) { MSBuildRuntimeValues.clr2, MSBuildRuntimeValues.clr4, MSBuildRuntimeValues.currentRuntime, MSBuildRuntimeValues.net, MSBuildRuntimeValues.
any
};
184
if (runtimeA.Equals(MSBuildRuntimeValues.
any
, StringComparison.OrdinalIgnoreCase) || runtimeB.Equals(MSBuildRuntimeValues.
any
, StringComparison.OrdinalIgnoreCase))
219
runtimeA = MSBuildRuntimeValues.
any
;
224
runtimeB = MSBuildRuntimeValues.
any
;
233
runtimeA.Equals(MSBuildRuntimeValues.
any
, StringComparison.OrdinalIgnoreCase))
251
runtimeA.Equals(MSBuildRuntimeValues.
any
, StringComparison.OrdinalIgnoreCase)) &&
255
runtimeB.Equals(MSBuildRuntimeValues.
any
, StringComparison.OrdinalIgnoreCase)))
264
if (runtimeA.Equals(MSBuildRuntimeValues.
any
, StringComparison.OrdinalIgnoreCase))
271
if (runtimeB.Equals(MSBuildRuntimeValues.
any
, StringComparison.OrdinalIgnoreCase))
328
MSBuildRuntimeValues.
any
.Equals(runtime, StringComparison.OrdinalIgnoreCase) ||
Microsoft.Build.Engine.UnitTests (24)
BackEnd\AssemblyTaskFactory_Tests.cs (6)
276
taskParameters.Add(XMakeAttributes.runtime, XMakeAttributes.MSBuildRuntimeValues.
any
);
338
taskParameters.Add(XMakeAttributes.runtime, XMakeAttributes.MSBuildRuntimeValues.
any
);
371
taskParameters.Add(XMakeAttributes.runtime, XMakeAttributes.MSBuildRuntimeValues.
any
);
567
taskParameters.Add(XMakeAttributes.runtime, XMakeAttributes.MSBuildRuntimeValues.
any
);
602
taskParameters.Add(XMakeAttributes.runtime, XMakeAttributes.MSBuildRuntimeValues.
any
);
631
factoryParameters.Add(XMakeAttributes.runtime, XMakeAttributes.MSBuildRuntimeValues.
any
);
BackEnd\TaskRegistry_Tests.cs (10)
632
expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.
any
,
643
expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.
any
,
753
runtime: XMakeAttributes.MSBuildRuntimeValues.
any
,
878
expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.
any
,
885
runtime: XMakeAttributes.MSBuildRuntimeValues.
any
,
900
expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.
any
,
920
expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.
any
,
959
expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.
any
,
971
expectedRuntime: XMakeAttributes.MSBuildRuntimeValues.
any
,
2058
{XMakeAttributes.runtime, runtime ?? XMakeAttributes.MSBuildRuntimeValues.
any
},
XmakeAttributes_Tests.cs (8)
54
Assert.True(XMakeAttributes.RuntimeValuesMatch(XMakeAttributes.MSBuildRuntimeValues.
any
, XMakeAttributes.MSBuildRuntimeValues.currentRuntime));
55
Assert.True(XMakeAttributes.RuntimeValuesMatch(XMakeAttributes.MSBuildRuntimeValues.
any
, XMakeAttributes.MSBuildRuntimeValues.net));
56
Assert.True(XMakeAttributes.RuntimeValuesMatch(XMakeAttributes.MSBuildRuntimeValues.
any
, XMakeAttributes.MSBuildRuntimeValues.clr4));
57
Assert.True(XMakeAttributes.RuntimeValuesMatch(XMakeAttributes.MSBuildRuntimeValues.clr2, XMakeAttributes.MSBuildRuntimeValues.
any
));
73
[InlineData(XMakeAttributes.MSBuildRuntimeValues.
any
, XMakeAttributes.MSBuildRuntimeValues.clr4, true, XMakeAttributes.MSBuildRuntimeValues.clr4)]
74
[InlineData(XMakeAttributes.MSBuildRuntimeValues.clr4, XMakeAttributes.MSBuildRuntimeValues.
any
, true, XMakeAttributes.MSBuildRuntimeValues.clr4)]
75
[InlineData(XMakeAttributes.MSBuildRuntimeValues.clr2, XMakeAttributes.MSBuildRuntimeValues.
any
, true, XMakeAttributes.MSBuildRuntimeValues.clr2)]
89
XMakeAttributes.TryMergeRuntimeValues(XMakeAttributes.MSBuildRuntimeValues.
any
,