22 references to FeatureSwitches
Microsoft.Build (21)
BackEnd\Components\Logging\LoggingService.cs (2)
1158
if (!
FeatureSwitches
.EnableReflectiveLoggerLoading)
1295
if (!
FeatureSwitches
.EnableReflectiveLoggerLoading)
BackEnd\Components\SdkResolution\SdkResolverService.cs (1)
281
if (Framework.
FeatureSwitches
.EnableSdkResolverDynamicLoading)
BackEnd\TaskExecutionHost\TaskEngineAssemblyResolver.cs (1)
102
if (!Framework.
FeatureSwitches
.EnableCustomPluginProbing)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (6)
328
else if (!
FeatureSwitches
.EnableReflectiveTaskExecution)
488
else if (!
FeatureSwitches
.EnableReflectiveTaskExecution && _taskFactoryWrapper.TaskFactory is IntrinsicTaskFactory intrinsicTaskFactory)
497
else if (!
FeatureSwitches
.EnableReflectiveTaskExecution)
559
if (_registeredTaskFactory is null && _taskFactoryWrapper.TaskFactory is not IntrinsicTaskFactory && !
FeatureSwitches
.EnableReflectiveTaskExecution)
1546
/// gated behind <see cref="
FeatureSwitches
.EnableReflectiveTaskExecution"/>, so a trimmed/AOT image
1561
if (
FeatureSwitches
.EnableReflectiveTaskExecution)
BuildCheck\Infrastructure\BuildCheckBuildEventHandler.cs (1)
144
if (
FeatureSwitches
.EnableCustomPluginProbing)
Definition\ToolsetReader.cs (1)
123
if (Framework.
FeatureSwitches
.EnableConfigurationFileToolsets)
Evaluation\Expander.Function.cs (7)
22
using FeatureSwitches = Microsoft.Build.Framework.
FeatureSwitches
;
741
if (
FeatureSwitches
.EnableAllPropertyFunctions)
1148
if (
FeatureSwitches
.EnableAllPropertyFunctions)
1181
if (
FeatureSwitches
.EnableAllPropertyFunctions)
1196
return !
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
1601
if (
FeatureSwitches
.EnableReflectiveTaskParameterTypes)
Microsoft.Build.Framework (1)
Loader\MSBuildLoadContext.cs (1)
52
if (!Framework.
FeatureSwitches
.EnableCustomPluginProbing)