You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2019/08/08 02:45:13 UTC

[lucenenet] 01/02: Lucene.Net.Support.Search.ReferenceContext: Sealed the class to keep VS2019 from complaining about its dispose method.

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 <sh...@shadstorhaug.com>
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;