Learn Roslyn Now

Learn Roslyn Now is a blog series that explores Microsoft’s Roslyn compiler API. My aim with this series is to introduce people to the power of Roslyn through small self-contained examples. I’ve taken inspiration from LearnVSXNow, a series by Istvan Novak that walks people through Visual Studio Extensibility.

Learn Roslyn Now TV

Learn Roslyn Now: Quick Tips

11 thoughts on “Learn Roslyn Now

  1. Is it possible to construct Method Symbols from an existing Assembly (dll) or Compilation object from an assembly without having source code

    1. I think so.

      I know there is IAssemblySymbol, which I believe you can use to get INamedTypeSymbols and their IMethodSymbols.

      I know you can also create a Compilation with the given Assembly and call GetSymbolsWithName() or GetTypeByMetadataName().

  2. Hi Josh,

    Thanks for an awesome tutorial! I wasn’t aware of it until somebody contributed the link to the Awesome Roslyn list. Learning Roslyn would have been much easier if I had been aware of this tutorial before 🙂 I moved the tutorial to the deserved top of the Awesome Tutorials list with the comment “A perfect tutorial to start with :-)”


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s