Reused Roslyn compilation when opening a tree from Document

Is there a particular reason for creating a new compilation when creating a model from Roslyn Document? I changed the method so it will reuse Roslyn compilation. This way when I use MSBuildWorkspace to load a solution, I get a compilation with references already filled out for me.
Also there are brackets missing here and solution doesn't compile because of it.