COMPATIBILITY: Refactored NativeFSLock since the implementation is dependent upon the HResult value, which may be different for each OS. The previous implementation of NativeFSLock was resurrected and is being used as a fallback for non-Windows platforms. The existing NativeFSLock was made abstract and renamed SharingAwareFSLock. At some point perhaps we can have other subclasses of this lock that will run on other popular platforms.
COMPATIBILITY: Refactored NativeFSLock since the implementation is dependent upon the HResult value, which may be different for each OS. The previous implementation of NativeFSLock was resurrected and is being used as a fallback for non-Windows platforms. The existing NativeFSLock was made abstract and renamed SharingAwareFSLock. At some point perhaps we can have other subclasses of this lock that will run on other popular platforms.

jeme/lucenenet,apache/lucenenet,NightOwl888/lucenenet,jeme/lucenenet,apache/lucenenet,jeme/lucenenet,sisve/lucenenet,jeme/lucenenet,NightOwl888/lucenenet,NightOwl888/lucenenet,apache/lucenenet,NightOwl888/lucenenet,laimis/lucenenet,apache/lucenenet,laimis/lucenenet,sisve/lucenenet