<commit_before>// Copyright (c) 2007-2018 ppy Pty Ltd <<EMAIL>>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE

namespace osu.Framework.Event
{
    /// <summary>
    /// The base abstract class of all event types.
    /// </summary>
    public abstract class Event
    {
        protected Event()
        {
        }

        /// <summary>
        /// Create a shallow clone of this object.
        /// </summary>
        /// <returns>A cloned object. Its type is the same as the original object.</returns>
        public virtual object Clone()
        {
            return MemberwiseClone();
        }
    }
}<commit_msg>Add ToString to Event<commit_after>// Copyright (c) 2007-2018 ppy Pty Ltd <<EMAIL>>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE

using osu.Framework.Extensions.TypeExtensions;

namespace osu.Framework.Event
{
    /// <summary>
    /// The base abstract class of all event types.
    /// </summary>
    public abstract class Event
    {
        protected Event()
        {
        }

        /// <summary>
        /// Create a shallow clone of this object.
        /// </summary>
        /// <returns>A cloned object. Its type is the same as the original object.</returns>
        public virtual object Clone()
        {
            return MemberwiseClone();
        }

        public override string ToString()
        {
            return $"{GetType().ReadableName()}()";
        }
    }
}
{'fraction_non_alphanumeric': 0.1223021582733813, 'fraction_numerical': 0.010464355788096796, 'mean_word_length': 1.8651685393258426, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 2, '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': '6512195', 'n_tokens_mistral': 432, 'n_tokens_neox': 414, 'n_words': 129}