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

StyleCop KeyNotFoundException error #3324

Closed
piersmyers opened this issue Mar 18, 2021 · 1 comment
Closed

StyleCop KeyNotFoundException error #3324

piersmyers opened this issue Mar 18, 2021 · 1 comment

Comments

@piersmyers
Copy link

Basic .NET5 console app (VS2019 16.9.2) with StyleCop.Analyzers v1.1.118 NuGet package gives this error:

Warning AD0001 Analyzer 'StyleCop.Analyzers.OrderingRules.SA1201ElementsMustAppearInTheCorrectOrder' threw an exception of type 'System.Collections.Generic.KeyNotFoundException' with message 'The given key was not present in the dictionary.'.

@sharwell
Copy link
Member

Duplicate of #3270

@sharwell sharwell marked this as a duplicate of #3270 Mar 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants