<commit_before>﻿using System.Reflection;
using System.Runtime.CompilerServices;

namespace System
{
    /// <summary>
    ///     Provides data for the event that is raised when there is an exception that is not handled in any application domain.
    /// </summary>
    /// <remarks>
    ///     <see cref="UnhandledExceptionEventArgs"/> provides access to the exception object and a flag indicating whether the common language runtime is terminating. The <see cref="UnhandledExceptionEventArgs"/> is one of the parameters passed into <see cref="UnhandledExceptionEventHandler"/> for the <see cref="AppDomain.UnhandledException"/> event.
    /// </remarks>
    /// <seealso cref="UnhandledExceptionEventHandler"/>
    /// <seealso cref="AppDomain.UnhandledException"/>
    /// <seealso cref="System.EventArgs" />
    /// <threadsafety static="true" instance="false"/>
    public class UnhandledExceptionEventArgs : EventArgs
    {
        internal static readonly Type RealType = typeof(UnhandledExceptionEventArgs).RealType();
        private static readonly Func<object, object> getExceptionObject;
        private static readonly Func<object, bool> getIsTerminating;

        static UnhandledExceptionEventArgs()
        {
            getExceptionObject = RealType.GetInstancePropertyFunction<object>(nameof(ExceptionObject));
            getIsTerminating = RealType.GetInstancePropertyFunction<bool>(nameof(IsTerminating));
        }
<commit_msg>Removed unneeded namespaces<commit_after>﻿using System.Runtime.CompilerServices;

namespace System
{
    /// <summary>
    ///     Provides data for the event that is raised when there is an exception that is not handled in any application domain.
    /// </summary>
    /// <remarks>
    ///     <see cref="UnhandledExceptionEventArgs"/> provides access to the exception object and a flag indicating whether the common language runtime is terminating. The <see cref="UnhandledExceptionEventArgs"/> is one of the parameters passed into <see cref="UnhandledExceptionEventHandler"/> for the <see cref="AppDomain.UnhandledException"/> event.
    /// </remarks>
    /// <seealso cref="UnhandledExceptionEventHandler"/>
    /// <seealso cref="AppDomain.UnhandledException"/>
    /// <seealso cref="EventArgs" />
    /// <threadsafety static="true" instance="false"/>
    public class UnhandledExceptionEventArgs : EventArgs
    {
        internal static readonly Type RealType = typeof(UnhandledExceptionEventArgs).RealType();
        private static readonly Func<object, object> getExceptionObject;
        private static readonly Func<object, bool> getIsTerminating;

        static UnhandledExceptionEventArgs()
        {
            getExceptionObject = RealType.GetInstancePropertyFunction<object>(nameof(ExceptionObject));
            getIsTerminating = RealType.GetInstancePropertyFunction<bool>(nameof(IsTerminating));
        }

{'fraction_non_alphanumeric': 0.10027758501040944, 'fraction_numerical': 0.0, 'mean_word_length': 3.7339901477832513, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, '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': '4126461', 'n_tokens_mistral': 691, 'n_tokens_neox': 691, 'n_words': 208}