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