15 references to AppendWhenTrue
Microsoft.Build.Tasks.CodeAnalysis.Sdk (15)
src\Compilers\Core\MSBuildTask\Csc.cs (3)
213commandLine.AppendWhenTrue("/fullpaths", _store, nameof(GenerateFullPaths)); 226commandLine.AppendWhenTrue("/errorendlocation", _store, nameof(ErrorEndLocation)); 230commandLine.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)
437commandLine.AppendWhenTrue("/nowarn", this._store, "NoWarnings"); 439commandLine.AppendWhenTrue("/nosdkpath", _store, nameof(DisableSdkPath)); 441commandLine.AppendWhenTrue("/nostdlib", this._store, "NoStandardLib"); 442commandLine.AppendWhenTrue("/novbruntimeref", this._store, "NoVBRuntimeReference"); 449commandLine.AppendWhenTrue("/netcf", this._store, "TargetCompactFramework");