public static IR1Top RDelegateDeclaration(this IR1Top r1Top, IGDelegateDeclaration gDelegateDeclaration)
 {
     r1Top.Sb.RenderDelegateDeclarationPreambleStringBuilder(gDelegateDeclaration, r1Top.Indent, r1Top.Eol, r1Top.Ct);
     r1Top.RArgument(gArguments: gDelegateDeclaration.GArguments);
     r1Top.Sb.Append($");{r1Top.Eol}");
     return(r1Top);
 }
        public static IR1Top RMethodDeclaration(this IR1Top r1Top, IGMethodDeclaration gMethodDeclaration)
        {
            r1Top.Sb.RenderMethodDeclarationPreambleStringBuilder(gMethodDeclaration, r1Top.Indent, r1Top.Eol, r1Top.Ct);
            r1Top.RArgument(gArguments: gMethodDeclaration.GArguments);
            if (gMethodDeclaration.GBase != "")
            {
                r1Top.Sb.Append($") : base({gMethodDeclaration.GBase})");
            }
            else if (gMethodDeclaration.GThis != "")
            {
                r1Top.Sb.Append($") : this({gMethodDeclaration.GThis})");
            }
            else
            {
                r1Top.Sb.Append($")");
            }
            if (!gMethodDeclaration.IsForInterface)
            {
                r1Top.Sb.Append($" {{{r1Top.Eol}");
            }
            else
            {
                r1Top.Sb.Append($";{r1Top.Eol}");
            }

            return(r1Top);
        }