6 references to WarningsAsErrors
Microsoft.Build.CommandLine.UnitTests (3)
CommandLineSwitches_Tests.cs (3)
891Assert.True(switches.SetParameterizedSwitch(CommandLineSwitches.ParameterizedSwitch.WarningsAsErrors, "/warnaserror", "", multipleParametersAllowed: true, unquoteParameters: false, emptyParametersAllowed: true)); 893Assert.True(switches.IsParameterizedSwitchSet(CommandLineSwitches.ParameterizedSwitch.WarningsAsErrors)); 895string[] parameters = switches[CommandLineSwitches.ParameterizedSwitch.WarningsAsErrors];
MSBuild (3)
CommandLineSwitches.cs (1)
276new ParameterizedSwitchInfo( ["warnaserror", "err"], ParameterizedSwitch.WarningsAsErrors, null, true, null, true, true, "HelpMessage_28_WarnAsErrorSwitch"),
XMake.cs (2)
3079string val = commandLineSwitches.GetParameterizedSwitchCommandLineArg(CommandLineSwitches.ParameterizedSwitch.WarningsAsErrors); 3284return ProcessWarningRelatedSwitch(commandLineSwitches, CommandLineSwitches.ParameterizedSwitch.WarningsAsErrors);