public EnumMemberDeclarationSyntax(MemberDeclarationSyntax heading = null) : base(heading) { }
public MemberDeclarationSyntax(MemberDeclarationSyntax other = null) { this.WithProperties(other); }
public static ClassDeclarationSyntax Create(MemberDeclarationSyntax heading, ClassDeclarationSyntax classBody) => classBody.IsInterface ? new InterfaceDeclarationSyntax(heading, classBody) : new ClassDeclarationSyntax(heading, classBody);