18 references to ConversionUtilities
Microsoft.Build (18)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
428
return
ConversionUtilities
.ConvertStringToBool(designTimeBuild, nullOrWhitespaceIsFalse: true)
429
|| (buildingProject != null && !
ConversionUtilities
.ConvertStringToBool(buildingProject, nullOrWhitespaceIsFalse: true));
BackEnd\Components\RequestBuilder\IntrinsicTasks\MSBuild.cs (2)
740
ErrorUtilities.VerifyThrowArgument(
ConversionUtilities
.CanConvertStringToBool(value), "MSBuild.InvalidSkipNonexistentProjectValue");
741
bool originalSkipValue =
ConversionUtilities
.ConvertStringToBool(value);
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
711
bool value =
ConversionUtilities
.ConvertStringToBool(expandedValue);
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (2)
710
return InternalSetTaskParameter(parameter,
ConversionUtilities
.ConvertStringToBool(expandedParameterValue));
745
finalTaskInputs.Add(
ConversionUtilities
.ConvertStringToBool(item.ItemSpec));
ConversionUtilities.cs (2)
153
if (
ConversionUtilities
.ValidDecimalNumber(number, out doubleValue))
157
else if (
ConversionUtilities
.ValidHexNumber(number, out int hexValue))
Evaluation\Conditionals\NumericExpressionNode.cs (1)
32
return
ConversionUtilities
.TryConvertDecimalOrHexToDouble(_value, out result);
Evaluation\Conditionals\StringExpressionNode.cs (3)
36
return
ConversionUtilities
.TryConvertStringToBool(GetExpandedValue(state), out result);
43
result =
ConversionUtilities
.ConvertDecimalOrHexToDouble(MSBuildConstants.CurrentVisualStudioVersion);
48
return
ConversionUtilities
.TryConvertDecimalOrHexToDouble(GetExpandedValue(state), out result);
Graph\ProjectInterpretation.cs (3)
122
bool enableDynamicPlatformResolution =
ConversionUtilities
.ValidBooleanTrue(requesterInstance.GetEngineRequiredPropertyValue(EnableDynamicPlatformResolutionPropertyName));
160
bool shouldUnsetParentConfigurationAndPlatform = !
ConversionUtilities
.ValidBooleanFalse(requesterInstance.GetEngineRequiredPropertyValue(ShouldUnsetParentConfigurationAndPlatformPropertyName));
570
ConversionUtilities
.ConvertStringToBool(msbuildString, nullOrWhitespaceIsFalse: true);
Instance\TaskRegistry.cs (1)
444
taskRegistry.RegisterTask(taskName, AssemblyLoadInfo.Create(assemblyName, assemblyFile), taskFactory, taskFactoryParameters, parameterGroupAndTaskElementRecord, loggingContext, projectUsingTaskXml,
ConversionUtilities
.ValidBooleanTrue(overrideUsingTask));
Logging\ParallelLogger\ParallelConsoleLogger.cs (1)
131
_showCommandLine =
ConversionUtilities
.ConvertStringToBool(parameterValue);