FileSystemEntry.NotSupported.cs 670 B

123456789101112131415
  1. using System.Collections;
  2. namespace System.IO.Enumeration
  3. {
  4. public unsafe ref partial struct FileSystemEntry
  5. {
  6. public ReadOnlySpan<char> Directory { get => throw new PlatformNotSupportedException (); }
  7. public ReadOnlySpan<char> RootDirectory { get => throw new PlatformNotSupportedException (); }
  8. public ReadOnlySpan<char> OriginalRootDirectory { get => throw new PlatformNotSupportedException (); }
  9. public ReadOnlySpan<char> FileName { get => throw new PlatformNotSupportedException (); }
  10. public bool IsDirectory => throw new PlatformNotSupportedException ();
  11. public FileSystemInfo ToFileSystemInfo() => throw new PlatformNotSupportedException ();
  12. }
  13. }