137 references to ChangeWaves
Microsoft.Build (39)
BackEnd\Components\Caching\ResultsCache.cs (2)
175bool buildDataFlagsSatisfied = ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_12)
BackEnd\Components\Logging\LoggingService.cs (2)
579if (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_12))
BackEnd\Components\RequestBuilder\RequestBuilder.cs (4)
1395ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_14))) 1444if (!ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_14))
BackEnd\Components\SdkResolution\SdkResolverLoader.cs (2)
235if (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_12))
BackEnd\Components\SdkResolution\SdkResolverService.cs (2)
65private SdkResolverLoader _sdkResolverLoader = ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (6)
1303bool legacyBehavior = !ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_12); 1479if (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_12)) 1566if (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_12))
Construction\Solution\SolutionFile.cs (4)
196internal static bool ShouldUseNewParser(string solutionFile) => ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_14) || FileUtilities.IsSolutionXFilename(solutionFile); 224if (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_14) && string.IsNullOrEmpty(value))
Evaluation\Evaluator.cs (6)
1108ChangeWaves.ApplyChangeWave(); 1110switch (ChangeWaves.ConversionState) 1113_evaluationLoggingContext.LogWarning("", new BuildEventFileInfo(""), "ChangeWave_InvalidFormat", Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{String.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]"); 1116_evaluationLoggingContext.LogWarning("", new BuildEventFileInfo(""), "ChangeWave_OutOfRotation", ChangeWaves.DisabledWave, Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{String.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]"); 1143SetBuiltInProperty(ReservedPropertyNames.msbuilddisablefeaturesfromversion, ChangeWaves.DisabledWave.ToString());
Evaluation\Expander.cs (4)
1527if (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_12)) 4295returnVal = ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10)
Evaluation\IntrinsicFunctions.cs (1)
625return ChangeWaves.AreFeaturesEnabled(wave);
Evaluation\PropertyTrackingEvaluatorDataWrapper.cs (2)
323(_settings == 0 && ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10)))
Logging\BinaryLogger\BinaryLogger.cs (2)
483bool isWildcard = ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_12) && parameter.Contains("{}");
Utilities\NuGetFrameworkWrapper.cs (2)
212if (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10) &&
Microsoft.Build.CommandLine.UnitTests (3)
XMake_Tests.cs (3)
534ChangeWaves.ResetStateForTests(); 578ChangeWaves.ResetStateForTests(); 579env.SetEnvironmentVariable("MSBUILDDISABLEFEATURESFROMVERSION", ChangeWaves.Wave17_10.ToString());
Microsoft.Build.Engine.OM.UnitTests (4)
Construction\ProjectTargetElement_Tests.cs (1)
348ChangeWaves.ResetStateForTests();
Definition\ProjectItem_Tests.cs (3)
791ChangeWaves.ResetStateForTests(); 848ChangeWaves.ResetStateForTests(); 976ChangeWaves.ResetStateForTests();
Microsoft.Build.Engine.UnitTests (56)
ChangeWaves_Tests.cs (36)
33ChangeWaves.ResetStateForTests(); 48bool isThisWaveEnabled = versionToCheckAgainstCurrentChangeWave < currentChangeWaveShouldUltimatelyResolveTo || currentChangeWaveShouldUltimatelyResolveTo == ChangeWaves.EnableAllFeatures; 50ChangeWaves.AreFeaturesEnabled(versionToCheckAgainstCurrentChangeWave).ShouldBe(isThisWaveEnabled); 76ChangeWaves.ResetStateForTests(); 84SetChangeWave(ChangeWaves.EnableAllFeatures.ToString(), env); 86for (int i = 0; i < ChangeWaves.AllWaves.Length - 1; i++) 89versionToCheckAgainstCurrentChangeWave: ChangeWaves.AllWaves[i], 90currentChangeWaveShouldUltimatelyResolveTo: ChangeWaves.EnableAllFeatures, 108ChangeWaves.AreFeaturesEnabled(featureAsVersion).ShouldBe(true); 112currentChangeWaveShouldUltimatelyResolveTo: ChangeWaves.EnableAllFeatures, 129versionToCheckAgainstCurrentChangeWave: ChangeWaves.HighestWave, 130currentChangeWaveShouldUltimatelyResolveTo: ChangeWaves.EnableAllFeatures, 146for (int i = 0; i < ChangeWaves.AllWaves.Length; i++) 149versionToCheckAgainstCurrentChangeWave: ChangeWaves.AllWaves[i], 150currentChangeWaveShouldUltimatelyResolveTo: ChangeWaves.LowestWave, 166for (int i = 0; i < ChangeWaves.AllWaves.Length - 1; i++) 169versionToCheckAgainstCurrentChangeWave: ChangeWaves.AllWaves[i], 170currentChangeWaveShouldUltimatelyResolveTo: ChangeWaves.HighestWave, 176versionToCheckAgainstCurrentChangeWave: ChangeWaves.AllWaves[ChangeWaves.AllWaves.Length - 1], 177currentChangeWaveShouldUltimatelyResolveTo: ChangeWaves.HighestWave, 187SetChangeWave($"{ChangeWaves.LowestWave.Major}.{ChangeWaves.LowestWave.Minor}.{ChangeWaves.LowestWave.Build + 1}", env); 190versionToCheckAgainstCurrentChangeWave: ChangeWaves.LowestWave, 191currentChangeWaveShouldUltimatelyResolveTo: ChangeWaves.AllWaves[1], 201SetChangeWave(ChangeWaves.HighestWave.ToString(), env); 203for (int i = 0; i < ChangeWaves.AllWaves.Length - 1; i++) 206versionToCheckAgainstCurrentChangeWave: ChangeWaves.AllWaves[i], 207currentChangeWaveShouldUltimatelyResolveTo: ChangeWaves.HighestWave, 213versionToCheckAgainstCurrentChangeWave: ChangeWaves.AllWaves[ChangeWaves.AllWaves.Length - 1], 214currentChangeWaveShouldUltimatelyResolveTo: ChangeWaves.HighestWave, 224SetChangeWave(ChangeWaves.LowestWave.ToString(), env); 226foreach (Version wave in ChangeWaves.AllWaves) 230currentChangeWaveShouldUltimatelyResolveTo: ChangeWaves.LowestWave,
Evaluation\Expander_Tests.cs (1)
5023env.SetEnvironmentVariable("MSBUILDDISABLEFEATURESFROMVERSION", ChangeWaves.Wave17_12.ToString());
Evaluation\IntrinsicFunctionOverload_Tests.cs (16)
35ChangeWaves.ResetStateForTests(); 57ChangeWaves.ResetStateForTests(); 79ChangeWaves.ResetStateForTests(); 101ChangeWaves.ResetStateForTests(); 143ChangeWaves.ResetStateForTests(); 165ChangeWaves.ResetStateForTests(); 187ChangeWaves.ResetStateForTests(); 229ChangeWaves.ResetStateForTests(); 251ChangeWaves.ResetStateForTests(); 273ChangeWaves.ResetStateForTests(); 315ChangeWaves.ResetStateForTests(); 337ChangeWaves.ResetStateForTests(); 359ChangeWaves.ResetStateForTests(); 401ChangeWaves.ResetStateForTests(); 423ChangeWaves.ResetStateForTests(); 445ChangeWaves.ResetStateForTests();
FileMatcher_Tests.cs (2)
1376ChangeWaves.ResetStateForTests(); 1415ChangeWaves.ResetStateForTests();
WarningsAsMessagesAndErrors_Tests.cs (1)
438env.SetEnvironmentVariable("MSBUILDDISABLEFEATURESFROMVERSION", ChangeWaves.Wave17_14.ToString());
Microsoft.Build.Framework (16)
BinaryTranslator.cs (2)
1202if (!TranslateNullable(value) || !ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10))
ChangeWaves.cs (2)
134_cachedWave = ChangeWaves.EnableAllFeatures; 139_cachedWave = ChangeWaves.EnableAllFeatures;
ProjectStartedEventArgs.cs (6)
254return globalProperties ?? (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_12) 305return properties ?? (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_12) 331return items ?? (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_12)
Traits.cs (6)
140if (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10)) 410return ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10); 422return ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10);
Microsoft.Build.Tasks.Core (4)
Exec.cs (4)
390string trimmedTextLine = ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10) ? 574bool setLocale = !ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10);
Microsoft.Build.Tasks.UnitTests (4)
CreateItem_Tests.cs (2)
316ChangeWaves.ResetStateForTests(); 368ChangeWaves.ResetStateForTests();
Exec_Tests.cs (2)
85ChangeWaves.ResetStateForTests(); 87env.SetEnvironmentVariable("MSBUILDDISABLEFEATURESFROMVERSION", ChangeWaves.Wave17_10.ToString());
Microsoft.Build.UnitTests.Shared (3)
ObjectModelHelpers.cs (2)
1472ChangeWaves.ResetStateForTests(); 1510ChangeWaves.ResetStateForTests();
TestEnvironment.cs (1)
103ChangeWaves.ResetStateForTests();
Microsoft.Build.Utilities.Core (6)
ToolTask.cs (6)
241if (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10)) 265if (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10)) 1453if (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10))
MSBuild (2)
XMake.cs (2)
4619if (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10))