laimis commented on code in PR #801:
URL: https://github.com/apache/lucenenet/pull/801#discussion_r1160912871


##########
src/Lucene.Net.Analysis.Common/Tartarus/Snowball/SnowballProgram.cs:
##########
@@ -63,7 +63,9 @@ protected SnowballProgram()
         /// <summary>
         /// Set the current string.
         /// </summary>
-        public virtual void SetCurrent(string value)
+        // LUCENENET specific - S1699 - marked non-virtual because calling
+        // virtual members from the constructor is not a safe operation in .NET
+        public void SetCurrent(string value)

Review Comment:
   Fixed here: https://github.com/apache/lucenenet/pull/802



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@lucenenet.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to