Art-Stea1th / Enhanced-Syntax-Highlighting

[Marketplace] Lightweight "editor classifier extension" for Visual Studio based on the async Roslyn APIs to enhanced highlighting custom tags in C# code.
https://marketplace.visualstudio.com/items?itemName=StanislavKuzmichArtStea1th.EnhancedSyntaxHighlighting
Other
77 stars 10 forks source link

Fix for update of VS2019 16.5 update #22

Closed flaengel closed 4 years ago

penCsharpener commented 4 years ago

This still doesn't work for me though. At the same place I get a NotImplementedException leading to an AggregateException. I have to wrap var modifier = ... in a try catch.

sharwell commented 4 years ago

@penCsharpener What symbol type do you have?

penCsharpener commented 4 years ago

Does this help? Not entirely sure what information you are asking for... 2020-03-20_061407_pn_ESH

penCsharpener commented 4 years ago

me stupid, I inverted the if statement...

penCsharpener commented 4 years ago

ok, just debug a bit more and this seems to work for me now.

var modifier = symbol is INamespaceSymbol || symbol is ILocalSymbol ? DeclarationModifiers.None : DeclarationModifiers.From(symbol);
Art-Stea1th commented 4 years ago

Hello friends! Recently, I have very little free time. Thank you for the proposed fix, I will try to check it out as soon as possible and release it.

Art-Stea1th commented 4 years ago

Released some time ago.

https://marketplace.visualstudio.com/items?itemName=StanislavKuzmichArtStea1th.EnhancedSyntaxHighlighting

Thanks again, for your help with resolving this issue.