© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
1 reply
Azirel

❔ Roslyn analyzer rules extraction

Pls guide me with a solution for extracting a set of rules from any RoslynAnalyzer.dll that it contains. Just as VS does in order to view them in .ruleset editor window.

Context: I have already tried to use a generic approach with loading assemblies and its dependencies manually and getting access to
DiagnosticDescriptor
DiagnosticDescriptor
s, it worked on my first test assemly, but the more new assemblies I' trying to test the more new errors I get. It feels like I'm going in a completely wrong direction and do not understand problem I'm trying to solve properly.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Rider - Custom Roslyn Analyzer
C#CC# / help
3mo ago
Rider Roslyn Analyzer Not Working (Partially)
C#CC# / help
9mo ago
✅ Roslyn analyzer: System.Guid only has _dummyPrimitive field?
C#CC# / help
3y ago
❔ Roslyn analyzer test project can't compile `where T : unmanaged` type constraint
C#CC# / help
3y ago