factored out the MonoDevelop types in GetDeclarations