15 references to AddIfTrue
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (15)
MSBuild\CSharp\CSharpCommandLineArgumentReader.cs (7)
38
AddIfTrue
("checked", Project.ReadPropertyBool(PropertyNames.CheckForOverflowUnderflow));
42
AddIfTrue
("fullpaths", Project.ReadPropertyBool(PropertyNames.GenerateFullPaths));
43
AddIfTrue
("highentropyva", Project.ReadPropertyBool(PropertyNames.HighEntropyVA));
47
AddIfTrue
("nostdlib", Project.ReadPropertyBool(PropertyNames.NoCompilerStandardLib));
49
AddIfTrue
("optimize", Project.ReadPropertyBool(PropertyNames.Optimize));
55
AddIfTrue
("unsafe", Project.ReadPropertyBool(PropertyNames.AllowUnsafeBlocks));
57
AddIfTrue
("warnaserror", Project.ReadPropertyBool(PropertyNames.TreatWarningsAsErrors));
MSBuild\VisualBasic\VisualBasicCommandLineArgumentReader.cs (8)
44
AddIfTrue
("highentropyva", Project.ReadPropertyBool(PropertyNames.HighEntropyVA));
48
AddIfTrue
("netcf", Project.ReadPropertyBool(PropertyNames.TargetCompactFramework));
49
AddIfTrue
("nostdlib", Project.ReadPropertyBool(PropertyNames.NoCompilerStandardLib));
51
AddIfTrue
("nowarn", Project.ReadPropertyBool(PropertyNames._NoWarnings));
52
AddIfTrue
("optimize", Project.ReadPropertyBool(PropertyNames.Optimize));
54
AddIfTrue
("removeintchecks", Project.ReadPropertyBool(PropertyNames.RemoveIntegerChecks));
60
AddIfTrue
("warnaserror", Project.ReadPropertyBool(PropertyNames.TreatWarningsAsErrors));
100
AddIfTrue
("optioninfer", Project.ReadPropertyBool(PropertyNames.OptionInfer));