Skip to content

Handle lazy loading of analyzer command handlers#36740

Merged
mavasani merged 2 commits intodotnet:masterfrom
mavasani:Issue36304
Jun 25, 2019
Merged

Handle lazy loading of analyzer command handlers#36740
mavasani merged 2 commits intodotnet:masterfrom
mavasani:Issue36304

Conversation

@mavasani
Copy link
Copy Markdown
Contributor

Fixes #36304

@mavasani mavasani requested a review from a team June 25, 2019 17:32
@jinujoseph jinujoseph added this to the 16.2.P4 milestone Jun 25, 2019
@jasonmalinowski
Copy link
Copy Markdown
Member

@mavasani Any idea what broke this? Any chance we can get a test somehow without too much work?

@mavasani
Copy link
Copy Markdown
Contributor Author

Any idea what broke this?

Looking at the code, my guess was this is due to our async load of components after solution has loaded: http://source.roslyn.io/#Microsoft.VisualStudio.LanguageServices/Implementation/LanguageService/AbstractPackage.cs,0e9498e29adafc1c,references

Any chance we can get a test somehow without too much work?

I assumed we would not have any tests for this, but let me look around for a bit :)

@mavasani
Copy link
Copy Markdown
Contributor Author

Any chance we can get a test somehow without too much work?

@jasonmalinowski Added unit test

@mavasani mavasani merged commit f52cb4c into dotnet:master Jun 25, 2019
@mavasani mavasani deleted the Issue36304 branch June 25, 2019 23:25
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.

Crash on right-click a analyse rule in Solution-Explorer

3 participants