|
1 | 1 | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. |
2 | 2 | // Licensed under the MIT License. See LICENSE in the project root for license information. |
3 | 3 |
|
4 | | -#nullable disable |
5 | | - |
6 | 4 | namespace StyleCop.Analyzers |
7 | 5 | { |
8 | 6 | using System.Diagnostics.CodeAnalysis; |
9 | 7 | using Microsoft.CodeAnalysis; |
10 | 8 |
|
11 | 9 | internal static class AnalyzerConstants |
12 | 10 | { |
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 | | - |
37 | 11 | /// <summary> |
38 | 12 | /// Gets a reference value which can be passed to |
39 | 13 | /// <see cref="DiagnosticDescriptor(string, string, string, string, DiagnosticSeverity, bool, string, string, string[])"/> |
|
0 commit comments