21 references to FeatureSwitches
Microsoft.Build (19)
BackEnd\Components\Logging\LoggingService.cs (2)
1126
if (!
FeatureSwitches
.EnableReflectiveLoggerLoading)
1243
if (!
FeatureSwitches
.EnableReflectiveLoggerLoading)
BackEnd\Components\SdkResolution\SdkResolverService.cs (1)
285
if (Framework.
FeatureSwitches
.EnableSdkResolverDynamicLoading)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (6)
329
else if (!
FeatureSwitches
.EnableReflectiveTaskExecution)
489
else if (!
FeatureSwitches
.EnableReflectiveTaskExecution && _taskFactoryWrapper.TaskFactory is IntrinsicTaskFactory intrinsicTaskFactory)
498
else if (!
FeatureSwitches
.EnableReflectiveTaskExecution)
562
if (_registeredTaskFactory is null && _taskFactoryWrapper.TaskFactory is not IntrinsicTaskFactory && !
FeatureSwitches
.EnableReflectiveTaskExecution)
1515
/// gated behind <see cref="
FeatureSwitches
.EnableReflectiveTaskExecution"/>, so a trimmed/AOT image
1525
if (
FeatureSwitches
.EnableReflectiveTaskExecution)
BuildCheck\Infrastructure\BuildCheckBuildEventHandler.cs (1)
142
if (
FeatureSwitches
.EnableCustomPluginProbing)
Definition\ToolsetReader.cs (1)
122
if (Framework.
FeatureSwitches
.EnableConfigurationFileToolsets)
Evaluation\Expander.Function.cs (5)
20
using FeatureSwitches = Microsoft.Build.Framework.
FeatureSwitches
;
734
if (
FeatureSwitches
.EnableAllPropertyFunctions)
1145
if (
FeatureSwitches
.EnableAllPropertyFunctions)
1160
if (
FeatureSwitches
.EnableAllPropertyFunctions)
1177
if (
FeatureSwitches
.RestrictPropertyFunctionReceivers)
Instance\TaskRegistry.cs (2)
1739
/// <see cref="
FeatureSwitches
.EnableReflectiveTaskParameterTypes"/> switch is enabled, so a
1796
if (
FeatureSwitches
.EnableReflectiveTaskParameterTypes)
src\msbuild\src\Shared\TaskEngineAssemblyResolver.cs (1)
103
if (!Framework.
FeatureSwitches
.EnableCustomPluginProbing)
Microsoft.Build.Framework (1)
Loader\MSBuildLoadContext.cs (1)
52
if (!Framework.
FeatureSwitches
.EnableCustomPluginProbing)
MSBuild (1)
src\msbuild\src\Shared\TaskEngineAssemblyResolver.cs (1)
103
if (!Framework.
FeatureSwitches
.EnableCustomPluginProbing)