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