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