Created
July 6, 2017 11:39
-
-
Save josephwoodward/df212f68f40f835bba17cbba12c45848 to your computer and use it in GitHub Desktop.
Roslyn.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void ParseMyCode(string code) | |
{ | |
var sourceLanguage = new CSharpLanguage(); | |
SyntaxTree syntaxTree = sourceLanguage.ParseText(code, SourceCodeKind.Regular); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment