15 references to AppendWhenTrue
Microsoft.Build.Tasks.CodeAnalysis.Sdk (15)
src\Compilers\Core\MSBuildTask\Csc.cs (3)
223
commandLine.
AppendWhenTrue
("/fullpaths", _store, nameof(GenerateFullPaths));
236
commandLine.
AppendWhenTrue
("/errorendlocation", _store, nameof(ErrorEndLocation));
240
commandLine.
AppendWhenTrue
("/nosdkpath", _store, nameof(DisableSdkPath));
src\Compilers\Core\MSBuildTask\ManagedCompiler.cs (7)
831
commandLine.
AppendWhenTrue
("/noconfig", _store, nameof(NoConfig));
885
commandLine.
AppendWhenTrue
("/reportivts", _store, nameof(ReportIVTs));
893
commandLine.
AppendWhenTrue
("/nologo", _store, nameof(NoLogo));
894
commandLine.
AppendWhenTrue
("/nowin32manifest", _store, nameof(NoWin32Manifest));
899
commandLine.
AppendWhenTrue
("/refonly", _store, nameof(RefOnly));
903
commandLine.
AppendWhenTrue
("/reportanalyzer", _store, nameof(ReportAnalyzer));
908
commandLine.
AppendWhenTrue
("/utf8output", _store, nameof(Utf8Output));
src\Compilers\Core\MSBuildTask\Vbc.cs (5)
446
commandLine.
AppendWhenTrue
("/nowarn", this._store, "NoWarnings");
448
commandLine.
AppendWhenTrue
("/nosdkpath", _store, nameof(DisableSdkPath));
450
commandLine.
AppendWhenTrue
("/nostdlib", this._store, "NoStandardLib");
451
commandLine.
AppendWhenTrue
("/novbruntimeref", this._store, "NoVBRuntimeReference");
458
commandLine.
AppendWhenTrue
("/netcf", this._store, "TargetCompactFramework");