<commit_before>﻿//------------------------------------------------------------------------------
// <copyright file="EditorClassifierClassificationDefinition.cs" company="Company">
//     Copyright (c) Company.  All rights reserved.
// </copyright>
//------------------------------------------------------------------------------

using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text.Classification;
using Microsoft.VisualStudio.Utilities;

namespace CoCo
{
    /// <summary>
    /// Classification type definition export for EditorClassifier
    /// </summary>
    internal static class EditorClassifierClassificationDefinition
    {
        // Disable "The field is never used" compiler's warning. The fields are used by MEF.
#pragma warning disable 169

        [Export(typeof(ClassificationTypeDefinition))]
        [Name(Names.NamespaceName)]
        private static ClassificationTypeDefinition namespaceDefinition;

        [Export(typeof(ClassificationTypeDefinition))]
        [Name(Names.LocalFieldName)]
        private static ClassificationTypeDefinition localFieldDefinition;

        [Export(typeof(ClassificationTypeDefinition))]
        [Name(Names.ParameterName)]
        private static ClassificationTypeDefinition parameterDefinition;

        [Export(typeof(ClassificationTypeDefinition))]
        [Name(Names.ExtensionMethodName)]
        private static ClassificationTypeDefinition extensionMethodDefinition;

        [Export(typeof(ClassificationTypeDefinition))]
        [Name(Names.MethodName)]
        private static ClassificationTypeDefinition methodDefinition;

        [Export(typeof(ClassificationTypeDefinition))]
        [Name(Names.EventName)]
        private static ClassificationTypeDefinition eventDefinition;

        [Export(typeof(ClassificationTypeDefinition))]
        [Name(Names.PropertyName)]
        private static ClassificationTypeDefinition propertyDefinition;

        [Export(typeof(ClassificationTypeDefinition))]
        [Name(Names.FieldName)]
        private static ClassificationTypeDefinition fieldDefinition;

        [Export(typeof(ClassificationTypeDefinition))]
        [Name(Names.StaticMethodName)]
        private static ClassificationTypeDefinition staticMethodDefinition;

        [Export(typeof(ClassificationTypeDefinition))]
        [Name(Names.EnumFiedName)]
        private static ClassificationTypeDefinition enumFieldDefinition;

        [Export(typeof(ClassificationTypeDefinition))]
        [Name(Names.AliasNamespaceName)]
        private static ClassificationTypeDefinition AliasNamespaceDefinition;

        [Export(typeof(ClassificationTypeDefinition))]
        [Name(Names.ConstructorMethodName)]
        private static ClassificationTypeDefinition ConstructorMethodDefinition;

#pragma warning restore 169
    }
}<commit_msg>Small renaming.<commit_after>﻿//------------------------------------------------------------------------------
// <copyright file="EditorClassifierClassificationDefinition.cs" company="Company">
//     Copyright (c) Company.  All rights reserved.
// </copyright>
//------------------------------------------------------------------------------

using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text.Classification;
using Microsoft.VisualStudio.Utilities;

namespace CoCo
{
    /// <summary>
    /// Classification type definition export for EditorClassifier
    /// </summary>
    internal static class EditorClassifierClassificationDefinition
    {
        // Disable "The field is never used" compiler's warning. The fields are used by MEF.
#pragma warning disable 169

        [Export(typeof(ClassificationTypeDefinition))]
        [Name(Names.NamespaceName)]
        private static ClassificationTypeDefinition namespaceDefinition;

        [Export(typeof(ClassificationTypeDefinition))]
        [Name(Names.LocalFieldName)]
        private static ClassificationTypeDefinition localFieldDefinition;

        [Export(typeof(ClassificationTypeDefinition))]
        [Name(Names.ParameterName)]
        private static ClassificationTypeDefinition parameterDefinition;

        [Export(typeof(ClassificationTypeDefinition))]
        [Name(Names.ExtensionMethodName)]
        private static ClassificationTypeDefinition extensionMethodDefinition;

        [Export(typeof(ClassificationTypeDefinition))]
        [Name(Names.MethodName)]
        private static ClassificationTypeDefinition methodDefinition;

        [Export(typeof(ClassificationTypeDefinition))]
        [Name(Names.EventName)]
        private static ClassificationTypeDefinition eventDefinition;

        [Export(typeof(ClassificationTypeDefinition))]
        [Name(Names.PropertyName)]
        private static ClassificationTypeDefinition propertyDefinition;

        [Export(typeof(ClassificationTypeDefinition))]
        [Name(Names.FieldName)]
        private static ClassificationTypeDefinition fieldDefinition;

        [Export(typeof(ClassificationTypeDefinition))]
        [Name(Names.StaticMethodName)]
        private static ClassificationTypeDefinition staticMethodDefinition;

        [Export(typeof(ClassificationTypeDefinition))]
        [Name(Names.EnumFiedName)]
        private static ClassificationTypeDefinition enumFieldDefinition;

        [Export(typeof(ClassificationTypeDefinition))]
        [Name(Names.AliasNamespaceName)]
        private static ClassificationTypeDefinition aliasNamespaceDefinition;

        [Export(typeof(ClassificationTypeDefinition))]
        [Name(Names.ConstructorMethodName)]
        private static ClassificationTypeDefinition constructorMethodDefinition;

#pragma warning restore 169
    }
}
{'fraction_non_alphanumeric': 0.12995049504950495, 'fraction_numerical': 0.0021216407355021216, 'mean_word_length': 3.156502571638501, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '6432038', 'n_tokens_mistral': 1229, 'n_tokens_neox': 1163, 'n_words': 251}