From f51a5459bd58ea17a2f2168be3693fbd7c4aed87 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Tue, 31 Oct 2017 20:41:45 -0400 Subject: [PATCH] Seals the Interface class --- TGServiceInterface/Interface.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TGServiceInterface/Interface.cs b/TGServiceInterface/Interface.cs index d788499b0f..954b4cc064 100644 --- a/TGServiceInterface/Interface.cs +++ b/TGServiceInterface/Interface.cs @@ -14,7 +14,7 @@ namespace TGServiceInterface /// /// Main inteface class for the service /// - public class Interface : IDisposable + sealed public class Interface : IDisposable { /// /// List of s that can be used with and @@ -319,7 +319,7 @@ namespace TGServiceInterface /// Implements the pattern. Calls /// /// if was called manually, if it was from the finalizer - protected virtual void Dispose(bool disposing) + void Dispose(bool disposing) { if (!disposedValue) {