If you already have access to your Document
class from your workspace (Using Workspaces) it is easy to access the root of your Syntax tree.
Document document = ... // Get document from workspace or other source
var syntaxRoot = await document.GetSyntaxRootAsync();