internal override void AsTextName(CodeWriter writer, RenderFlags flags)
 {
     base.AsTextName(writer, flags);
     if (HasTypeParameters)
     {
         TypeParameter.AsTextTypeParameters(writer, _typeParameters, flags);
     }
 }
        public void AsTextName(CodeWriter writer, RenderFlags flags)
        {
            if (flags.HasFlag(RenderFlags.Description) && _parent is TypeDecl)
            {
                ((TypeDecl)_parent).AsTextName(writer, flags);
                Dot.AsTextDot(writer);
            }

            writer.WriteIdentifier(_name, flags);
            if (HasTypeParameters)
            {
                TypeParameter.AsTextTypeParameters(writer, _typeParameters, flags);
            }
        }