Skip to content

Commit 15a4137

Browse files
committed
removed extraneous disposal
1 parent b9fa741 commit 15a4137

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rubberduck.CodeAnalysis/QuickFixes/IgnoreOnceQuickFix.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public override void Fix(IInspectionResult result, IRewriteSession rewriteSessio
3333

3434
int annotationLine;
3535
//TODO: Make this use the parse tree instead of the code module.
36-
using (var component = _state.ProjectsProvider.Component(result.QualifiedSelection.QualifiedName))
36+
var component = _state.ProjectsProvider.Component(result.QualifiedSelection.QualifiedName);
3737
using (var module = component.CodeModule)
3838
{
3939
annotationLine = result.QualifiedSelection.Selection.StartLine;

0 commit comments

Comments
 (0)