Skip to content

Conversation

@mavasani
Copy link
Contributor

Fixes #45851

This happened because an abstract fixer type had ExportCodeFixProvider attribute, which caused VS Crash on Ctrl + Dot operation. See dotnet/roslyn-analyzers#3843

Fixes dotnet#45851

This happened because an abstract fixer type had ExportCodeFixProvider attribute, which caused VS Crash on Ctrl + Dot operation. See dotnet/roslyn-analyzers#3843
@mavasani mavasani added this to the 16.8.P1 milestone Jul 10, 2020
@mavasani mavasani requested review from a team and sharwell July 10, 2020 14:03
private readonly IDiagnosticAnalyzerService _diagnosticService;

private readonly ImmutableDictionary<LanguageKind, Lazy<ImmutableDictionary<DiagnosticId, ImmutableArray<CodeFixProvider>>>> _workspaceFixersMap;
private readonly Func<Workspace, ImmutableDictionary<LanguageKind, Lazy<ImmutableDictionary<DiagnosticId, ImmutableArray<CodeFixProvider>>>>> _getWorkspaceFixersMap;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wew thats very generic

@mavasani
Copy link
Contributor Author

@jmarolf @CyrusNajmabadi any further feedback? Thanks.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approval

@ghost ghost merged commit 8bedf28 into dotnet:master Jul 16, 2020
@mavasani mavasani deleted the Issue45851 branch July 16, 2020 23:25
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exception in CodeFixService for abstract type with ExportCodeFixProviderAttribute

3 participants