20 references to FeatureSwitches
Microsoft.Build (19)
BackEnd\Components\Logging\LoggingService.cs (2)
1156if (!FeatureSwitches.EnableReflectiveLoggerLoading) 1290if (!FeatureSwitches.EnableReflectiveLoggerLoading)
BackEnd\Components\SdkResolution\SdkResolverService.cs (1)
281if (Framework.FeatureSwitches.EnableSdkResolverDynamicLoading)
BackEnd\TaskExecutionHost\TaskEngineAssemblyResolver.cs (1)
102if (!Framework.FeatureSwitches.EnableCustomPluginProbing)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (6)
328else if (!FeatureSwitches.EnableReflectiveTaskExecution) 488else if (!FeatureSwitches.EnableReflectiveTaskExecution && _taskFactoryWrapper.TaskFactory is IntrinsicTaskFactory intrinsicTaskFactory) 497else if (!FeatureSwitches.EnableReflectiveTaskExecution) 559if (_registeredTaskFactory is null && _taskFactoryWrapper.TaskFactory is not IntrinsicTaskFactory && !FeatureSwitches.EnableReflectiveTaskExecution) 1546/// gated behind <see cref="FeatureSwitches.EnableReflectiveTaskExecution"/>, so a trimmed/AOT image 1561if (FeatureSwitches.EnableReflectiveTaskExecution)
BuildCheck\Infrastructure\BuildCheckBuildEventHandler.cs (1)
144if (FeatureSwitches.EnableCustomPluginProbing)
Definition\ToolsetReader.cs (1)
123if (Framework.FeatureSwitches.EnableConfigurationFileToolsets)
Evaluation\Expander.Function.cs (5)
22using FeatureSwitches = Microsoft.Build.Framework.FeatureSwitches; 738if (FeatureSwitches.EnableAllPropertyFunctions) 1145if (FeatureSwitches.EnableAllPropertyFunctions) 1160if (FeatureSwitches.EnableAllPropertyFunctions) 1177if (FeatureSwitches.RestrictPropertyFunctionReceivers)
Instance\TaskRegistry.cs (2)
1544/// <see cref="FeatureSwitches.EnableReflectiveTaskParameterTypes"/> switch is enabled, so a 1601if (FeatureSwitches.EnableReflectiveTaskParameterTypes)
Microsoft.Build.Framework (1)
Loader\MSBuildLoadContext.cs (1)
52if (!Framework.FeatureSwitches.EnableCustomPluginProbing)