Skip to content

Commit

Permalink
Temporarily add a Debugger.Launch to debug a broken fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
bradwilson committed Nov 18, 2023
1 parent 2166edf commit 16f1f62
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System.Collections.Immutable;
using System.Composition;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Threading;
Expand All @@ -24,7 +25,10 @@ public class AssertSingleShouldBeUsedForSingleParameterFixer : BatchedCodeFixPro

public AssertSingleShouldBeUsedForSingleParameterFixer() :
base(Descriptors.X2023_AssertSingleShouldBeUsedForSingleParameter.Id)
{ }
{
if (!Debugger.IsAttached)
Debugger.Launch();
}

static string GetSafeVariableName(
string targetParameterName,
Expand Down

0 comments on commit 16f1f62

Please sign in to comment.