<commit_before>using System;

namespace AutoMapper.Internal
{
	internal struct TypePair : IEquatable<TypePair>
	{

		public TypePair(Type sourceType, Type destinationType)
			: this()
		{
			_sourceType = sourceType;
			_destinationType = destinationType;
			_hashcode = (_sourceType.GetHashCode()*397) ^ _destinationType.GetHashCode();
		}

        private readonly Type _destinationType;
        private readonly int _hashcode;
        private readonly Type _sourceType;

	    public Type SourceType
	    {
	        get { return _sourceType; }
	    }

	    public Type DestinationType
	    {
	        get { return _destinationType; }
	    }

		public bool Equals(TypePair other)
		{
			return Equals(other._sourceType, _sourceType) && Equals(other._destinationType, _destinationType);
		}

		public override bool Equals(object obj)
		{
			if (ReferenceEquals(null, obj)) return false;
			if (obj.GetType() != typeof (TypePair)) return false;
			return Equals((TypePair) obj);
		}

		public override int GetHashCode()
		{
			unchecked
			{
				return _hashcode;
			}
		}
	}
}<commit_msg>GetHashCode() returns a precalculated value in an unchecked context. Have put the calculation back into a checked context.<commit_after>using System;

namespace AutoMapper.Internal
{
	internal struct TypePair : IEquatable<TypePair>
	{

		public TypePair(Type sourceType, Type destinationType)
			: this()
		{
			_sourceType = sourceType;
			_destinationType = destinationType;
			_hashcode = unchecked((_sourceType.GetHashCode()*397) ^ _destinationType.GetHashCode());
		}

        private readonly Type _destinationType;
        private readonly int _hashcode;
        private readonly Type _sourceType;

	    public Type SourceType
	    {
	        get { return _sourceType; }
	    }

	    public Type DestinationType
	    {
	        get { return _destinationType; }
	    }

		public bool Equals(TypePair other)
		{
			return Equals(other._sourceType, _sourceType) && Equals(other._destinationType, _destinationType);
		}

		public override bool Equals(object obj)
		{
			if (ReferenceEquals(null, obj)) return false;
			if (obj.GetType() != typeof (TypePair)) return false;
			return Equals((TypePair) obj);
		}

		public override int GetHashCode()
		{
				return _hashcode;
			}
		}
}

{'fraction_non_alphanumeric': 0.08611599297012303, 'fraction_numerical': 0.0026362038664323375, 'mean_word_length': 3.3043478260869565, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5306893', 'n_tokens_mistral': 764, 'n_tokens_neox': 657, 'n_words': 176}