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