6 references to ThrowArgument
Microsoft.Build.Utilities.Core (5)
ErrorUtilities.cs (1)
545ThrowArgument("Shared.ParameterCannotHaveInvalidPathChars", parameterName, parameter);
FileUtilities.cs (2)
191ErrorUtilities.ThrowArgument("DebugPathTooLong", directory); 1484ErrorUtilities.ThrowArgument("InvalidGetPathOfFileAboveParameter", file);
ToolLocationHelper.cs (2)
2055ErrorUtilities.ThrowArgument("ToolLocationHelper.UnsupportedFrameworkVersion", version); 2076ErrorUtilities.ThrowArgument("ToolLocationHelper.UnsupportedVisualStudioVersion", version);
Microsoft.Build.Utilities.UnitTests (1)
ConversionUtilities.cs (1)
38Error.ThrowArgument("Shared.CannotConvertStringToBool", parameterValue);