private static TypeSyntax GetOutermostType(TypeSyntax type) { return type.GetAncestorsOrThis<TypeSyntax>().Last(); }