8 writes to TargetType
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (8)
CscTests.cs (5)
158csc.TargetType = "library"; 167csc.TargetType = "bad"; 585TargetType = "library" 625TargetType = "library", 648TargetType = "library",
VbcTests.cs (3)
156vbc.TargetType = "library"; 165vbc.TargetType = "bad"; 552TargetType = "library"
10 references to TargetType
Microsoft.Build.Tasks.CodeAnalysis (10)
ManagedCompiler.cs (7)
396_store[nameof(TargetType)] = value != null 400get { return (string?)_store[nameof(TargetType)]; } 850if (string.Compare(TargetType, "library", StringComparison.OrdinalIgnoreCase) == 0) 854else if (string.Compare(TargetType, "module", StringComparison.OrdinalIgnoreCase) == 0) 899commandLine.AppendSwitchIfNotNull("/target:", TargetType); 1189if (!string.Equals(TargetType, "library", StringComparison.OrdinalIgnoreCase) 1190&& !string.Equals(TargetType, "module", StringComparison.OrdinalIgnoreCase))
Vbc.cs (3)
833CheckHostObjectSupport(param = nameof(BaseAddress), vbcHostObject.SetBaseAddress(TargetType, GetBaseAddressInHex())); 884CheckHostObjectSupport(param = nameof(TargetType), vbcHostObject.SetTargetType(TargetType));