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