22 references to FeatureSwitches
Microsoft.Build (21)
BackEnd\Components\Logging\LoggingService.cs (2)
1158if (!FeatureSwitches.EnableReflectiveLoggerLoading) 1295if (!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 (7)
22using FeatureSwitches = Microsoft.Build.Framework.FeatureSwitches; 741if (FeatureSwitches.EnableAllPropertyFunctions) 1148if (FeatureSwitches.EnableAllPropertyFunctions) 1181if (FeatureSwitches.EnableAllPropertyFunctions) 1196return !FeatureSwitches.RestrictPropertyFunctionReceivers 1206|| FeatureSwitches.EnableAllPropertyFunctions 1207|| (!FeatureSwitches.RestrictPropertyFunctionReceivers && !ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave18_15))
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)