<commit_before>using System;
using Google.GRPC.Core.Internal;

namespace Google.GRPC.Core
{
    public class Call<TRequest, TResponse>
    {
        readonly string methodName;
        readonly Func<TRequest, byte[]> requestSerializer;
        readonly Func<byte[], TResponse> responseDeserializer;
        readonly Channel channel;

        // TODO: channel param should be removed in the future.
        public Call(string methodName, 
                    Func<TRequest, byte[]> requestSerializer,
                    Func<byte[], TResponse> responseDeserializer,
                    TimeSpan timeout,
                    Channel channel) {
            this.methodName = methodName;
            this.requestSerializer = requestSerializer;
            this.responseDeserializer = responseDeserializer;
            this.channel = channel;
        }

        // TODO: channel param should be removed in the future.
        public Call(Method<TRequest, TResponse> method, Channel channel)
        {
            this.methodName = method.Name;
            this.requestSerializer = method.RequestMarshaller.Serialize;<commit_msg>removed outdated comment<commit_after>using System;
using Google.GRPC.Core.Internal;

namespace Google.GRPC.Core
{
    public class Call<TRequest, TResponse>
    {
        readonly string methodName;
        readonly Func<TRequest, byte[]> requestSerializer;
        readonly Func<byte[], TResponse> responseDeserializer;
        readonly Channel channel;

        public Call(string methodName, 
                    Func<TRequest, byte[]> requestSerializer,
                    Func<byte[], TResponse> responseDeserializer,
                    TimeSpan timeout,
                    Channel channel) {
            this.methodName = methodName;
            this.requestSerializer = requestSerializer;
            this.responseDeserializer = responseDeserializer;
            this.channel = channel;
        }

        public Call(Method<TRequest, TResponse> method, Channel channel)
        {
            this.methodName = method.Name;
            this.requestSerializer = method.RequestMarshaller.Serialize;
{'fraction_non_alphanumeric': 0.07414359455654622, 'fraction_numerical': 0.0, 'mean_word_length': 2.235204855842185, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '7432149', 'n_tokens_mistral': 514, 'n_tokens_neox': 502, 'n_words': 129}