Reputation: 23
I know that there are several API provided by Roslyn; however, I was not sure what is the difference in performance when using Compiler API and Workspace API. Does Workspace API build the entire solution and generate the IL code?
Upvotes: 1
Views: 89
Reputation: 19031
The workspace API can be thought of as a helper just to make the Compiler API objects. So rather than having to manually call all the various compiler APIs to parse syntax trees and make Compilations, it does it for you. The interesting bits it really does is:
Upvotes: 0