Skip to content

Commit

Permalink
Revert "Merge pull request dotnet#53117 from CyrusNajmabadi/asyncLigh…
Browse files Browse the repository at this point in the history
…tbulb"

This reverts commit 0d317a4, reversing
changes made to 5336a84.
  • Loading branch information
CyrusNajmabadi committed Jul 12, 2021
1 parent ca27d12 commit e9b1a09
Show file tree
Hide file tree
Showing 61 changed files with 128 additions and 704 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// See the LICENSE file in the project root for more information.

using System.Collections.Immutable;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.Diagnostics;

namespace Microsoft.CodeAnalysis.CodeStyle
Expand Down Expand Up @@ -45,7 +44,6 @@ protected AbstractBuiltInCodeStyleDiagnosticAnalyzer(ImmutableArray<DiagnosticDe
_localizableMessageFormat = Descriptor.MessageFormat;
}

public CodeActionRequestPriority RequestPriority => CodeActionRequestPriority.Normal;
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }

protected static DiagnosticDescriptor CreateDescriptorWithId(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#nullable disable

using System.Collections.Immutable;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeStyle;
using Microsoft.CodeAnalysis.Diagnostics;

Expand All @@ -29,7 +28,6 @@ protected AbstractCodeQualityDiagnosticAnalyzer(
_generatedCodeAnalysisFlags = generatedCodeAnalysisFlags;
}

public CodeActionRequestPriority RequestPriority => CodeActionRequestPriority.Normal;
public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }

public sealed override void Initialize(AnalysisContext context)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
using Microsoft.CodeAnalysis.Shared.Extensions;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Utilities;
using Microsoft.CodeAnalysis.CodeActions;

#if CODE_STYLE
using OptionSet = Microsoft.CodeAnalysis.Diagnostics.AnalyzerConfigOptions;
Expand Down Expand Up @@ -118,7 +117,6 @@ public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics
}
}

public CodeActionRequestPriority RequestPriority => CodeActionRequestPriority.Normal;
public bool OpenFileOnly(OptionSet options) => false;

public override void Initialize(AnalysisContext context)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysis.Diagnostics;
Expand Down Expand Up @@ -185,8 +184,6 @@ private static void AccessSupportedDiagnostics(DiagnosticAnalyzer analyzer)

private class ThrowingDoNotCatchDiagnosticAnalyzer<TLanguageKindEnum> : ThrowingDiagnosticAnalyzer<TLanguageKindEnum>, IBuiltInAnalyzer where TLanguageKindEnum : struct
{
public CodeActionRequestPriority RequestPriority => CodeActionRequestPriority.Normal;

public bool OpenFileOnly(OptionSet options) => false;

public DiagnosticAnalyzerCategory GetAnalyzerCategory()
Expand Down
135 changes: 0 additions & 135 deletions src/EditorFeatures/Core.Wpf/Suggestions/AsyncSuggestedActionsSource.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ internal partial class SuggestedActionsSourceProvider
{
private partial class SuggestedActionsSource
{
protected sealed class State : IDisposable
private sealed class State : IDisposable
{
private readonly SuggestedActionsSource _source;

Expand Down
Loading

0 comments on commit e9b1a09

Please sign in to comment.