From e678b6cc4fcd3357062ad1518be499b2849b92dc Mon Sep 17 00:00:00 2001 From: Brad Wilson Date: Sat, 18 Nov 2023 16:15:13 -0800 Subject: [PATCH] Remove Debugger.Break from fix registration --- .../X2000/AssertSingleShouldBeUsedForSingleParameterFixer.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/xunit.analyzers.fixes/X2000/AssertSingleShouldBeUsedForSingleParameterFixer.cs b/src/xunit.analyzers.fixes/X2000/AssertSingleShouldBeUsedForSingleParameterFixer.cs index 5304cb7b..06daa3d1 100644 --- a/src/xunit.analyzers.fixes/X2000/AssertSingleShouldBeUsedForSingleParameterFixer.cs +++ b/src/xunit.analyzers.fixes/X2000/AssertSingleShouldBeUsedForSingleParameterFixer.cs @@ -45,8 +45,6 @@ public override async Task RegisterCodeFixesAsync(CodeFixContext context) if (!Debugger.IsAttached) Debugger.Launch(); - Debugger.Break(); - var root = await context.Document.GetSyntaxRootAsync(context.CancellationToken).ConfigureAwait(false); if (root is null) return;