/// <summary> /// Get the scope for the provided node. /// </summary> /// <param name="node"></param> /// <returns></returns> public IScope?GetScope(SyntaxNode node) { _scopeAndVariableManager.GetLazyState().Scopes.TryGetValue(node, out var scope); return(scope); }