Roslyn Reflection. Use familiar reflection tools to explore code while writing compile-time code analyzers.

github.com/davidfowl/Roslyn.Reflection

Vaya's read on this project

Problem, audience, market, and the verdict — sign in to see it.

Updates

November 2022
  • Added nuget.config
  • Make it into a normal library and push to a feed
  • Use caching
  • Rename the caching method
  • Handle constructor info separately
  • Made changes
  • Simplify IsAssignableFrom
  • Clean up variable names
  • Switch expression FTW
  • Added a symbol cache for their assocated reflection objects.
  • Small tweaks
  • Added type equality test
  • Fix warnings, update dependencies
  • Improve the patch!
  • Disable nullable - Fixes #2 (#3)
  • Added MakeGenericMethod
  • Added more member types
  • Fix bug with null types in GetMethod
  • Support IsSpecial name on RoslynMethodInfo
  • Improve binding flags filtering logic