private static async Task TypeParameters(StreamWriter writer, Type type, XDocument xmlComments)
        {
            if (type.IsGenericType)
            {
                await writer.WriteLineAsync("#### Type Parameters");

                await writer.WriteLineAsync("| | |");

                await writer.WriteLineAsync("|_|_|");

                foreach (var genericArgument in type.GetGenericArguments())
                {
                    await writer.WriteAsync("`");

                    await writer.WriteAsync(genericArgument.Name);

                    await writer.WriteAsync("`");

                    await writer.WriteAsync("|");

                    await writer.WriteLineAsync(XmlCommentHelper.GenericArgument(xmlComments, genericArgument));
                }

                await writer.WriteLineAsync();
            }
        }