<commit_before>// <auto-generated />
using System;
using System.Net.Http;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
{{#UsingList}}
using {{Item}};
{{/UsingList}}

/* ******** Hey You! *********
 *
 * This is a generated file, and gets rewritten every time you build the
 * project. If you want to edit it, you need to edit the mustache template
 * in the Refit package */

#pragma warning disable
namespace RefitInternalGenerated
{
    [ExcludeFromCodeCoverage]
    [AttributeUsage (AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Delegate)]
    sealed class PreserveAttribute : Attribute
    {

        //
        // Fields
        //
        public bool AllMembers;

        public bool Conditional;
    }
}
#pragma warning restore

{{#ClassList}}
namespace {{Namespace}}
{
    using RefitInternalGenerated;

    /// <inheritdoc />
    [ExcludeFromCodeCoverage]
    [DebuggerNonUserCode]
    [Preserve]
    partial class AutoGenerated{{GeneratedClassSuffix}}{{#TypeParameters}}<{{.}}>
    {{/TypeParameters}} : {{InterfaceName}}{{#TypeParameters}}<{{.}}>
        {{/TypeParameters}}
        {{#ConstraintClauses}}
        {{.}}
        {{/ConstraintClauses}}
        {
        /// <inheritdoc />
        public HttpClient Client { get; protected set; }
        readonly IRequestBuilder requestBuilder;

        public AutoGenerated{{GeneratedClassSuffix}}(HttpClient client, IRequestBuilder requestBuilder)
        {
            Client = client;
            this.requestBuilder = requestBuilder;
        }

{{#MethodList}}
        /// <inheritdoc />
        public virtual {{ReturnType}} {{Name}}{{#MethodTypeParameters}}<{{.}}>{{/MethodTypeParameters}}({{ArgumentListWithTypes}})
        {{#MethodConstraintClauses}}
            {{.}}
        {{/MethodConstraintClauses}}
        {
{{#IsRefitMethod}}
            var arguments = new object[] { {{ArgumentList}} };
            var func = requestBuilder.BuildRestResultFuncForMethod("{{Name}}", new Type[] { {{ArgumentTypesList}} }{{#MethodTypeParameterList}}, new Type[] { {{.}} }{{/MethodTypeParameterList}});
            return ({{ReturnType}})func(Client, arguments);<commit_msg>Add inheritdoc to generated constructor to prevent xml build warnings for generated code. (#513)<commit_after>// <auto-generated />
using System;
using System.Net.Http;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
{{#UsingList}}
using {{Item}};
{{/UsingList}}

/* ******** Hey You! *********
 *
 * This is a generated file, and gets rewritten every time you build the
 * project. If you want to edit it, you need to edit the mustache template
 * in the Refit package */

#pragma warning disable
namespace RefitInternalGenerated
{
    [ExcludeFromCodeCoverage]
    [AttributeUsage (AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Delegate)]
    sealed class PreserveAttribute : Attribute
    {

        //
        // Fields
        //
        public bool AllMembers;

        public bool Conditional;
    }
}
#pragma warning restore

{{#ClassList}}
namespace {{Namespace}}
{
    using RefitInternalGenerated;

    /// <inheritdoc />
    [ExcludeFromCodeCoverage]
    [DebuggerNonUserCode]
    [Preserve]
    partial class AutoGenerated{{GeneratedClassSuffix}}{{#TypeParameters}}<{{.}}>
    {{/TypeParameters}} : {{InterfaceName}}{{#TypeParameters}}<{{.}}>
        {{/TypeParameters}}
        {{#ConstraintClauses}}
        {{.}}
        {{/ConstraintClauses}}
        {
        /// <inheritdoc />
        public HttpClient Client { get; protected set; }
        readonly IRequestBuilder requestBuilder;

        /// <inheritdoc />
        public AutoGenerated{{GeneratedClassSuffix}}(HttpClient client, IRequestBuilder requestBuilder)
        {
            Client = client;
            this.requestBuilder = requestBuilder;
        }

{{#MethodList}}
        /// <inheritdoc />
        public virtual {{ReturnType}} {{Name}}{{#MethodTypeParameters}}<{{.}}>{{/MethodTypeParameters}}({{ArgumentListWithTypes}})
        {{#MethodConstraintClauses}}
            {{.}}
        {{/MethodConstraintClauses}}
        {
{{#IsRefitMethod}}
            var arguments = new object[] { {{ArgumentList}} };
            var func = requestBuilder.BuildRestResultFuncForMethod("{{Name}}", new Type[] { {{ArgumentTypesList}} }{{#MethodTypeParameterList}}, new Type[] { {{.}} }{{/MethodTypeParameterList}});
            return ({{ReturnType}})func(Client, arguments);
{'fraction_non_alphanumeric': 0.13854930725346373, 'fraction_numerical': 0.0006112469437652812, 'mean_word_length': 3.3442477876106196, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 18, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4230460', 'n_tokens_mistral': 1288, 'n_tokens_neox': 1271, 'n_words': 299}