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