Skip to content

Commit 4c4e877

Browse files
committed
Added ObsoleteAttribute.
1 parent 20c3e84 commit 4c4e877

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Rubberduck.Inspections/QuickFixes/SynchronizeAttributesQuickFix.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@
44
using System.Linq;
55
using Antlr4.Runtime;
66
using Rubberduck.Inspections.Abstract;
7-
using Rubberduck.Inspections.Concrete;
87
using Rubberduck.Parsing.Annotations;
98
using Rubberduck.Parsing.Grammar;
10-
using Rubberduck.Parsing.Inspections;
119
using Rubberduck.Parsing.Inspections.Abstract;
1210
using Rubberduck.Parsing.Inspections.Resources;
1311
using Rubberduck.Parsing.Symbols;
@@ -16,14 +14,15 @@
1614

1715
namespace Rubberduck.Inspections.QuickFixes
1816
{
17+
[Obsolete("Damages user code, and will be moot with custom code panes anyway.")]
1918
public sealed class SynchronizeAttributesQuickFix : QuickFixBase
2019
{
2120
private readonly RubberduckParserState _state;
2221

2322
private readonly IDictionary<string, string> _attributeNames;
2423

2524
public SynchronizeAttributesQuickFix(RubberduckParserState state)
26-
: base(/*typeof(MissingAnnotationArgumentInspection), typeof(MissingAttributeInspection)*/)
25+
//: base(typeof(MissingAnnotationArgumentInspection), typeof(MissingAttributeInspection))
2726
{
2827
_state = state;
2928
_attributeNames = typeof(AnnotationType).GetFields()

0 commit comments

Comments
 (0)