<commit_before>#if FAT
﻿using System;
using System.Collections.Generic;

using Theraot.Core;

namespace Theraot.Collections.Specialized
{
    [global::System.Diagnostics.DebuggerNonUserCode]
    public class ConversionEqualityComparer<TInput, TOutput> : IEqualityComparer<TInput>
    {
        private IEqualityComparer<TOutput> _comparer;
        private Converter<TInput, TOutput> _converter;

        public ConversionEqualityComparer(IEqualityComparer<TOutput> comparer, Converter<TInput, TOutput> converter)
        {
            _comparer = comparer ?? EqualityComparer<TOutput>.Default;
            _converter = Check.NotNullArgument(converter, "converter");
        }

        public bool Equals(TInput x, TInput y)
        {
            return _comparer.Equals(_converter(x), _converter(y));
        }

        public int GetHashCode(TInput obj)
        {
            return _comparer.GetHashCode(_converter(obj));
        }
    }
}
#endif<commit_msg>Style fix<commit_after>#if FAT
﻿using System;
using System.Collections.Generic;

using Theraot.Core;

namespace Theraot.Collections.Specialized
{
    [global::System.Diagnostics.DebuggerNonUserCode]
    public class ConversionEqualityComparer<TInput, TOutput> : IEqualityComparer<TInput>
    {
        private IEqualityComparer<TOutput> _comparer;
        private Converter<TInput, TOutput> _converter;

        public ConversionEqualityComparer(IEqualityComparer<TOutput> comparer, Converter<TInput, TOutput> converter)
        {
            _comparer = comparer ?? EqualityComparer<TOutput>.Default;
            _converter = Check.NotNullArgument(converter, "converter");
        }

        public bool Equals(TInput x, TInput y)
        {
            return _comparer.Equals(_converter.Invoke(x), _converter.Invoke(y));
        }

        public int GetHashCode(TInput obj)
        {
            return _comparer.GetHashCode(_converter.Invoke(obj));
        }
    }
}
#endif
{'fraction_non_alphanumeric': 0.09034589571502323, 'fraction_numerical': 0.0, 'mean_word_length': 3.1321961620469083, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '4153887', 'n_tokens_mistral': 580, 'n_tokens_neox': 573, 'n_words': 102}