KEMBAR78
Load resource stream outside of delegate by snorrk · Pull Request #3389 · icsharpcode/ILSpy · GitHub
Skip to content

Conversation

@snorrk
Copy link
Contributor

@snorrk snorrk commented Feb 7, 2025

Fixes Lazy loaded highlight definition failing when clear and add assemblies.

Problem

Reading from the Manifest Resource Stream inside of the RegisterHighlighting delegate seems to result in malformed reads (possibly due to threading issues).

Solution

Workaround is to read the stream before registering the delegate.

@siegfriedpammer siegfriedpammer merged commit 7d715a4 into icsharpcode:master Feb 8, 2025
5 checks passed
@siegfriedpammer
Copy link
Member

Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants