34 references to AreFeaturesEnabled
Microsoft.Build (15)
BackEnd\Components\Caching\ResultsCache.cs (1)
175bool buildDataFlagsSatisfied = ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_12)
BackEnd\Components\Logging\LoggingService.cs (1)
579if (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_12))
BackEnd\Components\SdkResolution\SdkResolverService.cs (3)
65protected SdkResolverLoader _sdkResolverLoader = ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10) 140if (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10)) 483if (!ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10))
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (3)
1303bool legacyBehavior = !ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_12); 1479if (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_12)) 1566if (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_12))
Construction\Solution\SolutionFile.cs (2)
196internal static bool ShouldUseNewParser(string solutionFile) => ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_14) || FileUtilities.IsSolutionXFilename(solutionFile); 224if (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_14) && string.IsNullOrEmpty(value))
Evaluation\Expander.cs (2)
1527if (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_12)) 4295returnVal = ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10)
Evaluation\IntrinsicFunctions.cs (1)
625return ChangeWaves.AreFeaturesEnabled(wave);
Evaluation\PropertyTrackingEvaluatorDataWrapper.cs (1)
323(_settings == 0 && ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10)))
Logging\BinaryLogger\BinaryLogger.cs (1)
483bool isWildcard = ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_12) && parameter.Contains("{}");
Microsoft.Build.Engine.UnitTests (2)
ChangeWaves_Tests.cs (2)
50ChangeWaves.AreFeaturesEnabled(versionToCheckAgainstCurrentChangeWave).ShouldBe(isThisWaveEnabled); 108ChangeWaves.AreFeaturesEnabled(featureAsVersion).ShouldBe(true);
Microsoft.Build.Framework (7)
BinaryTranslator.cs (1)
1202if (!TranslateNullable(value) || !ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10))
ProjectStartedEventArgs.cs (3)
254return globalProperties ?? (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_12) 305return properties ?? (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_12) 331return items ?? (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_12)
Traits.cs (3)
140if (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10)) 410return ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10); 422return ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10);
Microsoft.Build.Tasks.Core (6)
AssemblyDependency\ReferenceTable.cs (1)
975if (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_14) || CultureInfoCache.IsValidCultureString(cultureName))
AssignCulture.cs (1)
163if (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_14) &&
CreateCSharpManifestResourceName.cs (1)
106if (!string.IsNullOrEmpty(culture) && ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_14))
CreateVisualBasicManifestResourceName.cs (1)
105if (!string.IsNullOrEmpty(culture) && ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_14))
Exec.cs (2)
393string trimmedTextLine = ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10) ? 577bool setLocale = !ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10);
Microsoft.Build.Utilities.Core (3)
ToolTask.cs (3)
241if (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10)) 265if (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10)) 1453if (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10))
MSBuild (1)
XMake.cs (1)
4619if (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10))