lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [lucenenet] NightOwl888 commented on issue #336: Method not found: 'System.IO.MemoryMappedFiles.MemoryMappedFile System.IO.MemoryMappedFiles.MemoryMappedFile.CreateFromFile
Date Mon, 21 Sep 2020 14:34:31 GMT

NightOwl888 commented on issue #336:

   We've updated the compilation symbols so they don't depend directly on the target framework:
               if (input.memoryMappedFile == null)
                   input.memoryMappedFile = MemoryMappedFile.CreateFromFile(
                       fileStream: fc, 
                       mapName: null, 
                       capacity: length, 
                       access: MemoryMappedFileAccess.Read,
                       memoryMappedFileSecurity: null,
                       inheritability: HandleInheritability.Inheritable, 
                       leaveOpen: true); // LUCENENET: We explicitly dispose the FileStream
   This makes the default disable the `memoryMappedFileSecurity` parameter unless the `FEATURE_MEMORYMAPPEDFILESECURITY`
compilation symbol is added. The [Directory.Build.targets](
file maps the target framework to features for the entire solution.
   There really doesn't seem to be any more to do here, so I am closing this issue.

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.

For queries about this service, please contact Infrastructure at:

View raw message