15 references to AppendWhenTrue
Microsoft.Build.Tasks.CodeAnalysis (15)
src\roslyn\src\Compilers\Core\MSBuildTask\Csc.cs (3)
234commandLine.AppendWhenTrue("/fullpaths", _store, nameof(GenerateFullPaths)); 247commandLine.AppendWhenTrue("/errorendlocation", _store, nameof(ErrorEndLocation)); 251commandLine.AppendWhenTrue("/nosdkpath", _store, nameof(DisableSdkPath));
src\roslyn\src\Compilers\Core\MSBuildTask\ManagedCompiler.cs (7)
849commandLine.AppendWhenTrue("/noconfig", _store, nameof(NoConfig)); 903commandLine.AppendWhenTrue("/reportivts", _store, nameof(ReportIVTs)); 911commandLine.AppendWhenTrue("/nologo", _store, nameof(NoLogo)); 912commandLine.AppendWhenTrue("/nowin32manifest", _store, nameof(NoWin32Manifest)); 917commandLine.AppendWhenTrue("/refonly", _store, nameof(RefOnly)); 921commandLine.AppendWhenTrue("/reportanalyzer", _store, nameof(ReportAnalyzer)); 926commandLine.AppendWhenTrue("/utf8output", _store, nameof(Utf8Output));
src\roslyn\src\Compilers\Core\MSBuildTask\Vbc.cs (5)
459commandLine.AppendWhenTrue("/nowarn", this._store, "NoWarnings"); 461commandLine.AppendWhenTrue("/nosdkpath", _store, nameof(DisableSdkPath)); 463commandLine.AppendWhenTrue("/nostdlib", this._store, "NoStandardLib"); 464commandLine.AppendWhenTrue("/novbruntimeref", this._store, "NoVBRuntimeReference"); 471commandLine.AppendWhenTrue("/netcf", this._store, "TargetCompactFramework");