Skip to content

Commit 34c82db

Browse files
committed
Remove unnecessary property AnalyzerConstants.DisabledNoTests
1 parent b64e122 commit 34c82db

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

StyleCop.Analyzers/StyleCop.Analyzers/AnalyzerConstants.cs

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,13 @@
11
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
22
// Licensed under the MIT License. See LICENSE in the project root for license information.
33

4-
#nullable disable
5-
64
namespace StyleCop.Analyzers
75
{
86
using System.Diagnostics.CodeAnalysis;
97
using Microsoft.CodeAnalysis;
108

119
internal static class AnalyzerConstants
1210
{
13-
static AnalyzerConstants()
14-
{
15-
#if DEBUG
16-
// In DEBUG builds, the tests are enabled to simplify development and testing.
17-
DisabledNoTests = true;
18-
#else
19-
DisabledNoTests = false;
20-
#endif
21-
}
22-
23-
/// <summary>
24-
/// Gets a reference value which can be passed to
25-
/// <see cref="DiagnosticDescriptor(string, string, string, string, DiagnosticSeverity, bool, string, string, string[])"/>
26-
/// to disable a diagnostic which is currently untested.
27-
/// </summary>
28-
/// <value>
29-
/// A reference value which can be passed to
30-
/// <see cref="DiagnosticDescriptor(string, string, string, string, DiagnosticSeverity, bool, string, string, string[])"/>
31-
/// to disable a diagnostic which is currently untested.
32-
/// </value>
33-
[ExcludeFromCodeCoverageInternal]
34-
[SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1623:Property summary documentation should match accessors.", Justification = "This property behaves more like an opaque value than a Boolean.")]
35-
internal static bool DisabledNoTests { get; }
36-
3711
/// <summary>
3812
/// Gets a reference value which can be passed to
3913
/// <see cref="DiagnosticDescriptor(string, string, string, string, DiagnosticSeverity, bool, string, string, string[])"/>

0 commit comments

Comments
 (0)