13 references to TargetType
Microsoft.Build.Tasks.CodeAnalysis.Sdk (13)
src\Compilers\Core\MSBuildTask\Csc.cs (3)
566
CheckHostObjectSupport(param = nameof(MainEntryPoint), cscHostObject.SetMainEntryPoint(
TargetType
, MainEntryPoint));
610
CheckHostObjectSupport(param = nameof(
TargetType
), cscHostObject.SetTargetType(
TargetType
));
src\Compilers\Core\MSBuildTask\ManagedCompiler.cs (7)
396
_store[nameof(
TargetType
)] = value != null
400
get { return (string?)_store[nameof(
TargetType
)]; }
857
if (string.Compare(
TargetType
, "library", StringComparison.OrdinalIgnoreCase) == 0)
861
else if (string.Compare(
TargetType
, "module", StringComparison.OrdinalIgnoreCase) == 0)
906
commandLine.AppendSwitchIfNotNull("/target:",
TargetType
);
1196
if (!string.Equals(
TargetType
, "library", StringComparison.OrdinalIgnoreCase)
1197
&& !string.Equals(
TargetType
, "module", StringComparison.OrdinalIgnoreCase))
src\Compilers\Core\MSBuildTask\Vbc.cs (3)
833
CheckHostObjectSupport(param = nameof(BaseAddress), vbcHostObject.SetBaseAddress(
TargetType
, GetBaseAddressInHex()));
884
CheckHostObjectSupport(param = nameof(
TargetType
), vbcHostObject.SetTargetType(
TargetType
));