Skip to content

Instantly share code, notes, and snippets.

@joymon
Created June 3, 2015 02:55
Show Gist options
  • Save joymon/1060260ba4affd781e68 to your computer and use it in GitHub Desktop.
Save joymon/1060260ba4affd781e68 to your computer and use it in GitHub Desktop.
private ImmutableArray<Diagnostic> Compile(Compilation compilation)
{
string outputDllFilePathName = GetOutputFilePath();
EmitResult result = compilation.Emit(outputDllFilePathName);
Console.WriteLine(" Compilation result = {0}", result.Success);
return result.Diagnostics;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment