<commit_before>﻿namespace StyleCop.Analyzers
{
    using System;
    using Microsoft.CodeAnalysis.Diagnostics;

    /// <summary>
    /// This attribute is applied to <see cref="DiagnosticAnalyzer"/>'s if will not get a code fix.
    /// Reasons for this would be:
    /// <list type="bullet">
    /// <item>Visual Studio provides a built-in code fix.</item>
    /// <item>A code fix could not provide a usefull solution.</item>
    /// </list>
    /// The reason should be provided.
    /// </summary>
    [AttributeUsage(System.AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
    public sealed class NoCodeFixAttribute : System.Attribute
    {
        private readonly string reason;

        /// <summary>
        /// Initializes a new instance of the <see cref="NoCodeFixAttribute"/> class.
        /// </summary>
        /// <param name="reason">The reason why the <see cref="DiagnosticAnalyzer"/> does not have a code fix.</param>
        public NoCodeFixAttribute(string reason)
        {
            this.reason = reason;
        }

        /// <summary>
        /// Gets the reason why the <see cref="DiagnosticAnalyzer"/> does not have a code fix.
        /// </summary>
        /// <value>
        /// The reason why the <see cref="DiagnosticAnalyzer"/> does not have a code fix.
        /// </value>
        public string Reason
        {
            get { return this.reason; }
        }
    }
}<commit_msg>Code simplification and documentation cleanup in NoCodeFixAttribute<commit_after>﻿namespace StyleCop.Analyzers
{
    using System;
    using Microsoft.CodeAnalysis.Diagnostics;

    /// <summary>
    /// This attribute is applied to <see cref="DiagnosticAnalyzer"/>s for which no code fix is currently planned.
    /// </summary>
    /// <remarks>
    /// <para>There are several reasons an analyzer does not have a code fix, including but not limited to the
    /// following:</para>
    /// <list type="bullet">
    /// <item>Visual Studio provides a built-in code fix.</item>
    /// <item>A code fix could not provide a useful solution.</item>
    /// </list>
    /// <para>The <see cref="Reason"/> should be provided.</para>
    /// </remarks>
    [AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
    public sealed class NoCodeFixAttribute : System.Attribute
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="NoCodeFixAttribute"/> class.
        /// </summary>
        /// <param name="reason">The reason why the <see cref="DiagnosticAnalyzer"/> does not have a code fix.</param>
        public NoCodeFixAttribute(string reason)
        {
            this.Reason = reason;
        }

        /// <summary>
        /// Gets the reason why the <see cref="DiagnosticAnalyzer"/> does not have a code fix.
        /// </summary>
        /// <value>
        /// The reason why the <see cref="DiagnosticAnalyzer"/> does not have a code fix.
        /// </value>
        public string Reason
        {
            get;
        }
    }
}
{'fraction_non_alphanumeric': 0.12857612627425188, 'fraction_numerical': 0.0, 'mean_word_length': 2.1168032786885247, 'pattern_counts': {'":': 0, '<': 52, '<?xml version=': 0, '>': 52, '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': '4227847', 'n_tokens_mistral': 801, 'n_tokens_neox': 796, 'n_words': 276}