FileStream.OSX.cs 638 B

12345678910111213141516171819
  1. // Licensed to the .NET Foundation under one or more agreements.
  2. // The .NET Foundation licenses this file to you under the MIT license.
  3. // See the LICENSE file in the project root for more information.
  4. namespace System.IO
  5. {
  6. public partial class FileStream : Stream
  7. {
  8. private void LockInternal(long position, long length)
  9. {
  10. throw new PlatformNotSupportedException(SR.PlatformNotSupported_OSXFileLocking);
  11. }
  12. private void UnlockInternal(long position, long length)
  13. {
  14. throw new PlatformNotSupportedException(SR.PlatformNotSupported_OSXFileLocking);
  15. }
  16. }
  17. }