paulirwin commented on code in PR #1074:
URL: https://github.com/apache/lucenenet/pull/1074#discussion_r1897500908


##########
src/Lucene.Net/Util/Constants.cs:
##########
@@ -178,9 +178,10 @@ private static string GetFramework45PlusFromRegistry()
         {
             const string subkey = @"SOFTWARE\Microsoft\NET Framework 
Setup\NDP\v4\Full\";
 
-            // As an alternative, if you know the computers you will query are 
running .NET Framework 4.5 
+            // As an alternative, if you know the computers you will query are 
running .NET Framework 4.5
             // or later, you can use:
-            using RegistryKey ndpKey = 
RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, 
RegistryView.Registry32).OpenSubKey(subkey);

Review Comment:
   Filed https://github.com/dotnet/docs/issues/44083



-- 
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