Skip to content

Commit ce5dc26

Browse files
SimaTiangithub-actions
authored andcommitted
removing unnecessary include
1 parent 14850f3 commit ce5dc26

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Build/BackEnd/Components/SdkResolution/SdkResolverService.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88
using System.Linq;
99
using System.Reflection;
1010
using System.Text.RegularExpressions;
11-
#if DEBUG
12-
using System.Threading;
13-
14-
#endif
1511
using Microsoft.Build.BackEnd.Logging;
1612
using Microsoft.Build.Construction;
1713
using Microsoft.Build.Evaluation;
@@ -394,6 +390,8 @@ private bool TryResolveSdkUsingSpecifiedResolvers(
394390

395391
internal virtual void WaitIfTestRequires() { }
396392

393+
// This is a convenience wrapper that we override for one test so that we don't introduce unnecessary #if DEBUG
394+
// segments into the production code.
397395
internal virtual IReadOnlyList<SdkResolverManifest> GetResolverManifests(ElementLocation location) => _sdkResolverLoader.GetResolversManifests(location);
398396

399397
/// <summary>

0 commit comments

Comments
 (0)