Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vs-editor-api.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Impl/StandaloneUndo/AutoEnclose.cs')
-rw-r--r--src/Text/Impl/StandaloneUndo/AutoEnclose.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Impl/StandaloneUndo/AutoEnclose.cs b/src/Text/Impl/StandaloneUndo/AutoEnclose.cs
index 42af7d4..ad92cd3 100644
--- a/src/Text/Impl/StandaloneUndo/AutoEnclose.cs
+++ b/src/Text/Impl/StandaloneUndo/AutoEnclose.cs
@@ -20,7 +20,9 @@ namespace Microsoft.VisualStudio.Text.Operations.Standalone
this.end = end;
}
+#pragma warning disable CA1063 // Implement IDisposable Correctly
public void Dispose()
+#pragma warning restore CA1063 // Implement IDisposable Correctly
{
if (end != null) end();
GC.SuppressFinalize(this);