21 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\TaskExecutionHost.cs (6)
330else if (!FeatureSwitches.EnableReflectiveTaskExecution) 490else if (!FeatureSwitches.EnableReflectiveTaskExecution && _taskFactoryWrapper.TaskFactory is IntrinsicTaskFactory intrinsicTaskFactory) 499else if (!FeatureSwitches.EnableReflectiveTaskExecution) 561if (_registeredTaskFactory is null && _taskFactoryWrapper.TaskFactory is not IntrinsicTaskFactory && !FeatureSwitches.EnableReflectiveTaskExecution) 1548/// gated behind <see cref="FeatureSwitches.EnableReflectiveTaskExecution"/>, so a trimmed/AOT image 1563if (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) 1149if (FeatureSwitches.EnableAllPropertyFunctions) 1164if (FeatureSwitches.EnableAllPropertyFunctions) 1181if (FeatureSwitches.RestrictPropertyFunctionReceivers)
Instance\TaskRegistry.cs (2)
1545/// <see cref="FeatureSwitches.EnableReflectiveTaskParameterTypes"/> switch is enabled, so a 1602if (FeatureSwitches.EnableReflectiveTaskParameterTypes)
parent\Shared\TaskEngineAssemblyResolver.cs (1)
103if (!Framework.FeatureSwitches.EnableCustomPluginProbing)
Microsoft.Build.Framework (1)
Loader\MSBuildLoadContext.cs (1)
52if (!Framework.FeatureSwitches.EnableCustomPluginProbing)
MSBuild (1)
parent\Shared\TaskEngineAssemblyResolver.cs (1)
103if (!Framework.FeatureSwitches.EnableCustomPluginProbing)