2
0

FileSystemInfo.NotSupported.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. namespace System.IO
  2. {
  3. partial class FileSystemInfo
  4. {
  5. protected FileSystemInfo() { }
  6. internal void Invalidate() => throw new PlatformNotSupportedException ();
  7. internal bool ExistsCore => throw new PlatformNotSupportedException ();
  8. internal long LengthCore => throw new PlatformNotSupportedException ();
  9. public void Refresh() => throw new PlatformNotSupportedException ();
  10. internal string NormalizedPath => throw new PlatformNotSupportedException ();
  11. public FileAttributes Attributes
  12. {
  13. get => throw new PlatformNotSupportedException ();
  14. set => throw new PlatformNotSupportedException ();
  15. }
  16. internal DateTimeOffset CreationTimeCore
  17. {
  18. get => throw new PlatformNotSupportedException ();
  19. set => throw new PlatformNotSupportedException ();
  20. }
  21. internal DateTimeOffset LastAccessTimeCore
  22. {
  23. get => throw new PlatformNotSupportedException ();
  24. set => throw new PlatformNotSupportedException ();
  25. }
  26. internal DateTimeOffset LastWriteTimeCore
  27. {
  28. get => throw new PlatformNotSupportedException ();
  29. set => throw new PlatformNotSupportedException ();
  30. }
  31. }
  32. }