• Home
  • Search Tags
  • About

roslyn

Topics related to roslyn:

Getting started with roslyn

To start with Roslyn, take a look at:

  • Syntax Tree API
  • Semantic model API
  • Add more topics here.

Analyze source code with Roslyn

Change source code with Roslyn

  • Roslyn syntax trees are immutable. By calling a method like ReplaceNodes we generate a new node rather than modifying the existing one. This requires you to always change the object you have been working on.

Using Workspaces

  • Currently there is no MSBuild workspace that supports a .NET Standard compliant projects. For more information see here.

Syntax Tree

  • The Syntax Tree is a Parse Tree in the context of the Roslyn compiler.

Semantic Model

  • Querying the Semantic Model is more costly than querying the Syntax Tree, due to the fact that it most commonly triggers a compilation.

Content on the page is taken from Stack Overflow Documentation

This site is NOT affiliated with Stack Overflow or any of the contributors. | Privacy Policy | Terms of Service