Roslyn is .Net compiler, which also provides C# classes to analyse C# source code. Github: https://github.com/dotnet/roslyn