12 references to SetSwitchError
MSBuild (12)
CommandLine\CommandLineParser.cs (7)
341commandLineSwitches.SetSwitchError("MissingResponseFileError", unquotedCommandLineArg, commandLine); 449commandLineSwitches.SetSwitchError(duplicateSwitchErrorMessage, unquotedCommandLineArg, commandLine); 495commandLineSwitches.SetSwitchError("EnvironmentVariableAsSwitch", unquotedCommandLineArg, commandLine); 508commandLineSwitches.SetSwitchError(missingParametersErrorMessage, unquotedCommandLineArg, commandLine); 514commandLineSwitches.SetSwitchError(duplicateSwitchErrorMessage, unquotedCommandLineArg, commandLine); 519commandLineSwitches.SetSwitchError(missingParametersErrorMessage, unquotedCommandLineArg, commandLine); 680switchesFromAutoResponseFile.SetSwitchError("CannotAutoDisableAutoResponseFile",
CommandLine\CommandLineSwitches.cs (4)
805SetSwitchError("UnknownSwitchError", badCommandLineArgValue, commandLine); 814SetSwitchError("UnexpectedParametersError", badCommandLineArgValue, commandLine); 949SetSwitchError(s_parameterlessSwitchesMap[i].duplicateSwitchErrorMessage, 973SetSwitchError(s_parameterizedSwitchesMap[j].duplicateSwitchErrorMessage,
XMake.cs (1)
2860commandLineSwitches.SetSwitchError("NotWarnAsErrorWithoutWarnAsError",