Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Merge pull request #53117 from CyrusNajmabadi/asyncLightbulb" #54773

Merged
merged 1 commit into from
Jul 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

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