This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit 8339769f5cb4764c77988be1eaaaaf33b0423eae
Author: Shad Storhaug <[email protected]>
AuthorDate: Thu Aug 8 09:33:44 2019 +0700

    Lucene.Net.Support.Search.ReferenceContext: Sealed the class to keep VS2019 
from complaining about its dispose method.
---
 src/Lucene.Net/Support/Search/ReferenceContext.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Lucene.Net/Support/Search/ReferenceContext.cs 
b/src/Lucene.Net/Support/Search/ReferenceContext.cs
index c72e3f4..98020cb 100644
--- a/src/Lucene.Net/Support/Search/ReferenceContext.cs
+++ b/src/Lucene.Net/Support/Search/ReferenceContext.cs
@@ -28,7 +28,7 @@ namespace Lucene.Net.Search
     /// LUCENENET specific
     /// </summary>
     /// <typeparam name="T">The reference type</typeparam>
-    public class ReferenceContext<T> : IDisposable
+    public sealed class ReferenceContext<T> : IDisposable
         where T : class
     {
         private readonly ReferenceManager<T> referenceManager;

Reply via email to