RingDotNetfor Ring

System.IO

39 wrapped types. Load them with using { "System.IO" }. Click a class to open it.

BinaryReader class

System.IO.BinaryReader · assembly System.Private.CoreLib

Implements: IDisposable

Constructors

new BinaryReader(Stream input)
new BinaryReader(Stream input, Encoding encoding)
new BinaryReader(Stream input, Encoding encoding, bool leaveOpen)

Ring: new BinaryReader(args) uses one constructor; the others are chosen by the parameter names: new BinaryReader().@New([ :param = value ]) or dnNew("BinaryReader",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
BaseStreamStreamreado.BaseStream

Methods

MethodRing call.NET overloads
ClosecallMethod("Close",[])void Close()
DisposecallMethod("Dispose",[])void Dispose()
PeekCharcallMethod("PeekChar",[])int PeekChar()
ReadRead(NULL)
Read(value)
Read([ :buffer = … ])
Read([ :buffer = …, :index = …, :count = … ])
int Read()
int Read(char[] buffer, int index, int count)
int Read(Span<char> buffer)
int Read(byte[] buffer, int index, int count)
int Read(Span<byte> buffer)
Read7BitEncodedIntcallMethod("Read7BitEncodedInt",[])int Read7BitEncodedInt()
Read7BitEncodedInt64callMethod("Read7BitEncodedInt64",[])long Read7BitEncodedInt64()
ReadBooleancallMethod("ReadBoolean",[])bool ReadBoolean()
ReadBytecallMethod("ReadByte",[])byte ReadByte()
ReadBytescallMethod("ReadBytes",[p1])byte[] ReadBytes(int count)
ReadCharcallMethod("ReadChar",[])char ReadChar()
ReadCharscallMethod("ReadChars",[p1])char[] ReadChars(int count)
ReadDecimalcallMethod("ReadDecimal",[])decimal ReadDecimal()
ReadDoublecallMethod("ReadDouble",[])double ReadDouble()
ReadHalfcallMethod("ReadHalf",[])Half ReadHalf()
ReadInt16callMethod("ReadInt16",[])short ReadInt16()
ReadInt32callMethod("ReadInt32",[])int ReadInt32()
ReadInt64callMethod("ReadInt64",[])long ReadInt64()
ReadSBytecallMethod("ReadSByte",[])sbyte ReadSByte()
ReadSinglecallMethod("ReadSingle",[])float ReadSingle()
ReadStringcallMethod("ReadString",[])string ReadString()
ReadUInt16callMethod("ReadUInt16",[])ushort ReadUInt16()
ReadUInt32callMethod("ReadUInt32",[])uint ReadUInt32()
ReadUInt64callMethod("ReadUInt64",[])ulong ReadUInt64()
BinaryWriter class

System.IO.BinaryWriter · assembly System.Private.CoreLib

Implements: IDisposable, IAsyncDisposable

Constructors

new BinaryWriter(Stream output)
new BinaryWriter(Stream output, Encoding encoding)
new BinaryWriter(Stream output, Encoding encoding, bool leaveOpen)

Ring: new BinaryWriter(args) uses one constructor; the others are chosen by the parameter names: new BinaryWriter().@New([ :param = value ]) or dnNew("BinaryWriter",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
BaseStreamStreamreado.BaseStream
NullBinaryWriterread · statico.Null

Methods

MethodRing call.NET overloads
ClosecallMethod("Close",[])void Close()
DisposecallMethod("Dispose",[])void Dispose()
DisposeAsynccallMethod("DisposeAsync",[])ValueTask DisposeAsync()
FlushcallMethod("Flush",[])void Flush()
SeekSeek(p1,p2)long Seek(int offset, SeekOrigin origin)
WritecallMethod("Write",[p1])
callMethod("Write",[p1,p2,p3])
void Write(bool value)
void Write(byte value)
void Write(sbyte value)
void Write(byte[] buffer)
void Write(byte[] buffer, int index, int count)
void Write(char ch)
void Write(char[] chars)
void Write(char[] chars, int index, int count)
void Write(double value)
void Write(decimal value)
void Write(short value)
void Write(ushort value)
void Write(int value)
void Write(uint value)
void Write(long value)
void Write(ulong value)
void Write(float value)
void Write(Half value)
void Write(string value)
void Write(ReadOnlySpan<byte> buffer)
void Write(ReadOnlySpan<char> chars)
Write7BitEncodedIntcallMethod("Write7BitEncodedInt",[p1])void Write7BitEncodedInt(int value)
Write7BitEncodedInt64callMethod("Write7BitEncodedInt64",[p1])void Write7BitEncodedInt64(long value)
BufferedStream class sealed · extends Stream

System.IO.BufferedStream · assembly System.Private.CoreLib

Implements: IDisposable, IAsyncDisposable

Constructors

new BufferedStream(Stream stream)
new BufferedStream(Stream stream, int bufferSize)

Ring: new BufferedStream(args) uses one constructor; the others are chosen by the parameter names: new BufferedStream().@New([ :param = value ]) or dnNew("BufferedStream",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
UnderlyingStreamStreamreado.UnderlyingStream
BufferSizeintreado.BufferSize
CanReadboolreado.getCanRead()
CanWriteboolreado.getCanWrite()
CanSeekboolreado.getCanSeek()
Lengthlongreado.getLength()
Positionlongread, writeo.getPosition() o.setPosition(v)

Methods

MethodRing call.NET overloads
BeginReadcallMethod("BeginRead",[p1,p2,p3,p4,p5])IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
BeginWritecallMethod("BeginWrite",[p1,p2,p3,p4,p5])IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
CopyTocallMethod("CopyTo",[p1,p2])void CopyTo(Stream destination, int bufferSize)
CopyToAsyncCopyToAsync([ :destination = …, :bufferSize = …, :cancellationToken = … ])Task CopyToAsync(Stream destination, int bufferSize, CancellationToken cancellationToken)
DisposeAsynccallMethod("DisposeAsync",[])ValueTask DisposeAsync()
EndReadEndRead(p1)int EndRead(IAsyncResult asyncResult)
EndWriteEndWrite(p1)void EndWrite(IAsyncResult asyncResult)
FlushcallMethod("Flush",[])void Flush()
FlushAsyncFlushAsync(value)
FlushAsync([ :cancellationToken = … ])
Task FlushAsync(CancellationToken cancellationToken)
ReadRead(p1,p2,p3)int Read(byte[] buffer, int offset, int count)
int Read(Span<byte> destination)
ReadAsyncReadAsync([ :buffer = …, :cancellationToken = … ])
ReadAsync([ :buffer = …, :offset = …, :count = …, :cancellationToken = … ])
Task<int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
ValueTask<int> ReadAsync(Memory<byte> buffer, CancellationToken cancellationToken = …)
ReadBytecallMethod("ReadByte",[])int ReadByte()
SeekSeek(p1,p2)long Seek(long offset, SeekOrigin origin)
SetLengthcallMethod("SetLength",[p1])void SetLength(long value)
WriteWrite(p1,p2,p3)void Write(byte[] buffer, int offset, int count)
void Write(ReadOnlySpan<byte> buffer)
WriteAsyncWriteAsync([ :buffer = …, :cancellationToken = … ])
WriteAsync([ :buffer = …, :offset = …, :count = …, :cancellationToken = … ])
Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
ValueTask WriteAsync(ReadOnlyMemory<byte> buffer, CancellationToken cancellationToken = …)
WriteBytecallMethod("WriteByte",[p1])void WriteByte(byte value)

Members of the base class are inherited.

Directory class static

System.IO.Directory · assembly System.Private.CoreLib

Methods

MethodRing call.NET overloads
CreateDirectoryCreateDirectory(value)
CreateDirectory([ :path = … ])
CreateDirectory([ :path = …, :unixCreateMode = … ])
static DirectoryInfo CreateDirectory(string path)
static DirectoryInfo CreateDirectory(string path, UnixFileMode unixCreateMode)
CreateSymbolicLinkCreateSymbolicLink(p1,p2)static FileSystemInfo CreateSymbolicLink(string path, string pathToTarget)
CreateTempSubdirectoryCreateTempSubdirectory(value)
CreateTempSubdirectory([ :prefix = … ])
static DirectoryInfo CreateTempSubdirectory(string prefix = …)
DeleteDelete(value)
Delete([ :path = … ])
Delete([ :path = …, :recursive = … ])
static void Delete(string path)
static void Delete(string path, bool recursive)
EnumerateDirectoriesEnumerateDirectories(value)
EnumerateDirectories([ :path = … ])
EnumerateDirectories([ :path = …, :searchPattern = … ])
EnumerateDirectories([ :path = …, :searchPattern = …, :searchOption = … ])
EnumerateDirectories([ :path = …, :searchPattern = …, :enumerationOptions = … ])
static IEnumerable<string> EnumerateDirectories(string path)
static IEnumerable<string> EnumerateDirectories(string path, string searchPattern)
static IEnumerable<string> EnumerateDirectories(string path, string searchPattern, SearchOption searchOption)
static IEnumerable<string> EnumerateDirectories(string path, string searchPattern, EnumerationOptions enumerationOptions)
EnumerateFilesEnumerateFiles(value)
EnumerateFiles([ :path = … ])
EnumerateFiles([ :path = …, :searchPattern = … ])
EnumerateFiles([ :path = …, :searchPattern = …, :searchOption = … ])
EnumerateFiles([ :path = …, :searchPattern = …, :enumerationOptions = … ])
static IEnumerable<string> EnumerateFiles(string path)
static IEnumerable<string> EnumerateFiles(string path, string searchPattern)
static IEnumerable<string> EnumerateFiles(string path, string searchPattern, SearchOption searchOption)
static IEnumerable<string> EnumerateFiles(string path, string searchPattern, EnumerationOptions enumerationOptions)
EnumerateFileSystemEntriesEnumerateFileSystemEntries(value)
EnumerateFileSystemEntries([ :path = … ])
EnumerateFileSystemEntries([ :path = …, :searchPattern = … ])
EnumerateFileSystemEntries([ :path = …, :searchPattern = …, :searchOption = … ])
EnumerateFileSystemEntries([ :path = …, :searchPattern = …, :enumerationOptions = … ])
static IEnumerable<string> EnumerateFileSystemEntries(string path)
static IEnumerable<string> EnumerateFileSystemEntries(string path, string searchPattern)
static IEnumerable<string> EnumerateFileSystemEntries(string path, string searchPattern, SearchOption searchOption)
static IEnumerable<string> EnumerateFileSystemEntries(string path, string searchPattern, EnumerationOptions enumerationOptions)
ExistscallMethod("Exists",[p1])static bool Exists(string path)
GetCreationTimeGetCreationTime(p1)static DateTime GetCreationTime(string path)
GetCreationTimeUtcGetCreationTimeUtc(p1)static DateTime GetCreationTimeUtc(string path)
GetCurrentDirectorycallMethod("GetCurrentDirectory",[])static string GetCurrentDirectory()
GetDirectoriesGetDirectories(value)
GetDirectories([ :path = … ])
GetDirectories([ :path = …, :searchPattern = … ])
GetDirectories([ :path = …, :searchPattern = …, :searchOption = … ])
GetDirectories([ :path = …, :searchPattern = …, :enumerationOptions = … ])
static string[] GetDirectories(string path)
static string[] GetDirectories(string path, string searchPattern)
static string[] GetDirectories(string path, string searchPattern, SearchOption searchOption)
static string[] GetDirectories(string path, string searchPattern, EnumerationOptions enumerationOptions)
GetDirectoryRootcallMethod("GetDirectoryRoot",[p1])static string GetDirectoryRoot(string path)
GetFilesGetFiles(value)
GetFiles([ :path = … ])
GetFiles([ :path = …, :searchPattern = … ])
GetFiles([ :path = …, :searchPattern = …, :searchOption = … ])
GetFiles([ :path = …, :searchPattern = …, :enumerationOptions = … ])
static string[] GetFiles(string path)
static string[] GetFiles(string path, string searchPattern)
static string[] GetFiles(string path, string searchPattern, SearchOption searchOption)
static string[] GetFiles(string path, string searchPattern, EnumerationOptions enumerationOptions)
GetFileSystemEntriesGetFileSystemEntries(value)
GetFileSystemEntries([ :path = … ])
GetFileSystemEntries([ :path = …, :searchPattern = … ])
GetFileSystemEntries([ :path = …, :searchPattern = …, :searchOption = … ])
GetFileSystemEntries([ :path = …, :searchPattern = …, :enumerationOptions = … ])
static string[] GetFileSystemEntries(string path)
static string[] GetFileSystemEntries(string path, string searchPattern)
static string[] GetFileSystemEntries(string path, string searchPattern, SearchOption searchOption)
static string[] GetFileSystemEntries(string path, string searchPattern, EnumerationOptions enumerationOptions)
GetLastAccessTimeGetLastAccessTime(p1)static DateTime GetLastAccessTime(string path)
GetLastAccessTimeUtcGetLastAccessTimeUtc(p1)static DateTime GetLastAccessTimeUtc(string path)
GetLastWriteTimeGetLastWriteTime(p1)static DateTime GetLastWriteTime(string path)
GetLastWriteTimeUtcGetLastWriteTimeUtc(p1)static DateTime GetLastWriteTimeUtc(string path)
GetLogicalDrivesGetLogicalDrives()static string[] GetLogicalDrives()
GetParentGetParent(p1)static DirectoryInfo GetParent(string path)
MovecallMethod("Move",[p1,p2])static void Move(string sourceDirName, string destDirName)
ResolveLinkTargetResolveLinkTarget(p1,p2)static FileSystemInfo ResolveLinkTarget(string linkPath, bool returnFinalTarget)
SetCreationTimeSetCreationTime(p1,p2)static void SetCreationTime(string path, DateTime creationTime)
SetCreationTimeUtcSetCreationTimeUtc(p1,p2)static void SetCreationTimeUtc(string path, DateTime creationTimeUtc)
SetCurrentDirectorycallMethod("SetCurrentDirectory",[p1])static void SetCurrentDirectory(string path)
SetLastAccessTimeSetLastAccessTime(p1,p2)static void SetLastAccessTime(string path, DateTime lastAccessTime)
SetLastAccessTimeUtcSetLastAccessTimeUtc(p1,p2)static void SetLastAccessTimeUtc(string path, DateTime lastAccessTimeUtc)
SetLastWriteTimeSetLastWriteTime(p1,p2)static void SetLastWriteTime(string path, DateTime lastWriteTime)
SetLastWriteTimeUtcSetLastWriteTimeUtc(p1,p2)static void SetLastWriteTimeUtc(string path, DateTime lastWriteTimeUtc)
DirectoryInfo class sealed · extends FileSystemInfo

System.IO.DirectoryInfo · assembly System.Private.CoreLib

Implements: ISerializable

Constructors

new DirectoryInfo(string path)

Ring: new DirectoryInfo(args) uses one constructor; the others are chosen by the parameter names: new DirectoryInfo().@New([ :param = value ]) or dnNew("DirectoryInfo",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Namestringreado.getName()
ParentDirectoryInforeado.Parent
RootDirectoryInforeado.Root
Existsboolreado.getExists()

Methods

MethodRing call.NET overloads
CreatecallMethod("Create",[])void Create()
CreateSubdirectorycallMethod("CreateSubdirectory",[p1])DirectoryInfo CreateSubdirectory(string path)
DeletecallMethod("Delete",[])
callMethod("Delete",[p1])
void Delete()
void Delete(bool recursive)
EnumerateDirectoriesEnumerateDirectories(NULL)
EnumerateDirectories(value)
EnumerateDirectories([ :searchPattern = … ])
EnumerateDirectories([ :searchPattern = …, :searchOption = … ])
EnumerateDirectories([ :searchPattern = …, :enumerationOptions = … ])
IEnumerable<DirectoryInfo> EnumerateDirectories()
IEnumerable<DirectoryInfo> EnumerateDirectories(string searchPattern)
IEnumerable<DirectoryInfo> EnumerateDirectories(string searchPattern, SearchOption searchOption)
IEnumerable<DirectoryInfo> EnumerateDirectories(string searchPattern, EnumerationOptions enumerationOptions)
EnumerateFilesEnumerateFiles(NULL)
EnumerateFiles(value)
EnumerateFiles([ :searchPattern = … ])
EnumerateFiles([ :searchPattern = …, :searchOption = … ])
EnumerateFiles([ :searchPattern = …, :enumerationOptions = … ])
IEnumerable<FileInfo> EnumerateFiles()
IEnumerable<FileInfo> EnumerateFiles(string searchPattern)
IEnumerable<FileInfo> EnumerateFiles(string searchPattern, SearchOption searchOption)
IEnumerable<FileInfo> EnumerateFiles(string searchPattern, EnumerationOptions enumerationOptions)
EnumerateFileSystemInfosEnumerateFileSystemInfos(NULL)
EnumerateFileSystemInfos(value)
EnumerateFileSystemInfos([ :searchPattern = … ])
EnumerateFileSystemInfos([ :searchPattern = …, :searchOption = … ])
EnumerateFileSystemInfos([ :searchPattern = …, :enumerationOptions = … ])
IEnumerable<FileSystemInfo> EnumerateFileSystemInfos()
IEnumerable<FileSystemInfo> EnumerateFileSystemInfos(string searchPattern)
IEnumerable<FileSystemInfo> EnumerateFileSystemInfos(string searchPattern, SearchOption searchOption)
IEnumerable<FileSystemInfo> EnumerateFileSystemInfos(string searchPattern, EnumerationOptions enumerationOptions)
GetDirectoriesGetDirectories(NULL)
GetDirectories(value)
GetDirectories([ :searchPattern = … ])
GetDirectories([ :searchPattern = …, :searchOption = … ])
GetDirectories([ :searchPattern = …, :enumerationOptions = … ])
DirectoryInfo[] GetDirectories()
DirectoryInfo[] GetDirectories(string searchPattern)
DirectoryInfo[] GetDirectories(string searchPattern, SearchOption searchOption)
DirectoryInfo[] GetDirectories(string searchPattern, EnumerationOptions enumerationOptions)
GetFilesGetFiles(NULL)
GetFiles(value)
GetFiles([ :searchPattern = … ])
GetFiles([ :searchPattern = …, :searchOption = … ])
GetFiles([ :searchPattern = …, :enumerationOptions = … ])
FileInfo[] GetFiles()
FileInfo[] GetFiles(string searchPattern)
FileInfo[] GetFiles(string searchPattern, SearchOption searchOption)
FileInfo[] GetFiles(string searchPattern, EnumerationOptions enumerationOptions)
GetFileSystemInfosGetFileSystemInfos(NULL)
GetFileSystemInfos(value)
GetFileSystemInfos([ :searchPattern = … ])
GetFileSystemInfos([ :searchPattern = …, :searchOption = … ])
GetFileSystemInfos([ :searchPattern = …, :enumerationOptions = … ])
FileSystemInfo[] GetFileSystemInfos()
FileSystemInfo[] GetFileSystemInfos(string searchPattern)
FileSystemInfo[] GetFileSystemInfos(string searchPattern, SearchOption searchOption)
FileSystemInfo[] GetFileSystemInfos(string searchPattern, EnumerationOptions enumerationOptions)
MoveTocallMethod("MoveTo",[p1])void MoveTo(string destDirName)

Members of the base class are inherited.

DirectoryNotFoundException class · extends IOException

System.IO.DirectoryNotFoundException · assembly System.Private.CoreLib

Implements: ISerializable

Constructors

new DirectoryNotFoundException()
new DirectoryNotFoundException(string message)
new DirectoryNotFoundException(string message, Exception innerException)

Ring: new DirectoryNotFoundException(args) uses one constructor; the others are chosen by the parameter names: new DirectoryNotFoundException().@New([ :param = value ]) or dnNew("DirectoryNotFoundException",[ :param = value ]).

Members of the base class are inherited.

DriveInfo class sealed

System.IO.DriveInfo · assembly System.IO.FileSystem.DriveInfo

Implements: ISerializable

Constructors

new DriveInfo(string driveName)

Ring: new DriveInfo(args) uses one constructor; the others are chosen by the parameter names: new DriveInfo().@New([ :param = value ]) or dnNew("DriveInfo",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Namestringreado.Name
IsReadyboolreado.IsReady
RootDirectoryDirectoryInforeado.RootDirectory
DriveTypeDriveTypereado.DriveType
DriveFormatstringreado.DriveFormat
AvailableFreeSpacelongreado.AvailableFreeSpace
TotalFreeSpacelongreado.TotalFreeSpace
TotalSizelongreado.TotalSize
VolumeLabelstringread, writeo.VolumeLabel o.VolumeLabel = v

Methods

MethodRing call.NET overloads
GetDrivesGetDrives()static DriveInfo[] GetDrives()
ToStringcallMethod("ToString",[])string ToString()
DriveNotFoundException class · extends IOException

System.IO.DriveNotFoundException · assembly System.IO.FileSystem.DriveInfo

Implements: ISerializable

Constructors

new DriveNotFoundException()
new DriveNotFoundException(string message)
new DriveNotFoundException(string message, Exception innerException)

Ring: new DriveNotFoundException(args) uses one constructor; the others are chosen by the parameter names: new DriveNotFoundException().@New([ :param = value ]) or dnNew("DriveNotFoundException",[ :param = value ]).

Members of the base class are inherited.

EndOfStreamException class · extends IOException

System.IO.EndOfStreamException · assembly System.Private.CoreLib

Implements: ISerializable

Constructors

new EndOfStreamException()
new EndOfStreamException(string message)
new EndOfStreamException(string message, Exception innerException)

Ring: new EndOfStreamException(args) uses one constructor; the others are chosen by the parameter names: new EndOfStreamException().@New([ :param = value ]) or dnNew("EndOfStreamException",[ :param = value ]).

Members of the base class are inherited.

EnumerationOptions class

System.IO.EnumerationOptions · assembly System.Private.CoreLib

Constructors

new EnumerationOptions()

Ring: new EnumerationOptions(args) uses one constructor; the others are chosen by the parameter names: new EnumerationOptions().@New([ :param = value ]) or dnNew("EnumerationOptions",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
RecurseSubdirectoriesboolread, writeo.RecurseSubdirectories o.RecurseSubdirectories = v
IgnoreInaccessibleboolread, writeo.IgnoreInaccessible o.IgnoreInaccessible = v
BufferSizeintread, writeo.BufferSize o.BufferSize = v
AttributesToSkipFileAttributesread, writeo.AttributesToSkip o.AttributesToSkip = v
MatchTypeMatchTyperead, writeo.MatchType o.MatchType = v
MatchCasingMatchCasingread, writeo.MatchCasing o.MatchCasing = v
MaxRecursionDepthintread, writeo.MaxRecursionDepth o.MaxRecursionDepth = v
ReturnSpecialDirectoriesboolread, writeo.ReturnSpecialDirectories o.ReturnSpecialDirectories = v
ErrorEventArgs class · extends EventArgs

System.IO.ErrorEventArgs · assembly System.IO.FileSystem.Watcher

Constructors

new ErrorEventArgs(Exception exception)

Ring: new ErrorEventArgs(args) uses one constructor; the others are chosen by the parameter names: new ErrorEventArgs().@New([ :param = value ]) or dnNew("ErrorEventArgs",[ :param = value ]).

Methods

MethodRing call.NET overloads
GetExceptioncallMethod("GetException",[])Exception GetException()

Members of the base class are inherited.

File class static

System.IO.File · assembly System.Private.CoreLib

Methods

MethodRing call.NET overloads
AppendAllBytesAppendAllBytes(p1,p2)static void AppendAllBytes(string path, byte[] bytes)
static void AppendAllBytes(string path, ReadOnlySpan<byte> bytes)
AppendAllBytesAsyncAppendAllBytesAsync([ :path = …, :bytes = …, :cancellationToken = … ])static Task AppendAllBytesAsync(string path, byte[] bytes, CancellationToken cancellationToken = …)
static Task AppendAllBytesAsync(string path, ReadOnlyMemory<byte> bytes, CancellationToken cancellationToken = …)
AppendAllLinesAppendAllLines([ :path = …, :contents = … ])
AppendAllLines([ :path = …, :contents = …, :encoding = … ])
static void AppendAllLines(string path, IEnumerable<string> contents)
static void AppendAllLines(string path, IEnumerable<string> contents, Encoding encoding)
AppendAllLinesAsyncAppendAllLinesAsync([ :path = …, :contents = …, :cancellationToken = … ])
AppendAllLinesAsync([ :path = …, :contents = …, :encoding = …, :cancellationToken = … ])
static Task AppendAllLinesAsync(string path, IEnumerable<string> contents, CancellationToken cancellationToken = …)
static Task AppendAllLinesAsync(string path, IEnumerable<string> contents, Encoding encoding, CancellationToken cancellationToken = …)
AppendAllTextAppendAllText([ :path = …, :contents = … ])
AppendAllText([ :path = …, :contents = …, :encoding = … ])
static void AppendAllText(string path, string contents)
static void AppendAllText(string path, ReadOnlySpan<char> contents)
static void AppendAllText(string path, string contents, Encoding encoding)
static void AppendAllText(string path, ReadOnlySpan<char> contents, Encoding encoding)
AppendAllTextAsyncAppendAllTextAsync([ :path = …, :contents = …, :cancellationToken = … ])
AppendAllTextAsync([ :path = …, :contents = …, :encoding = …, :cancellationToken = … ])
static Task AppendAllTextAsync(string path, string contents, CancellationToken cancellationToken = …)
static Task AppendAllTextAsync(string path, ReadOnlyMemory<char> contents, CancellationToken cancellationToken = …)
static Task AppendAllTextAsync(string path, string contents, Encoding encoding, CancellationToken cancellationToken = …)
static Task AppendAllTextAsync(string path, ReadOnlyMemory<char> contents, Encoding encoding, CancellationToken cancellationToken = …)
AppendTextAppendText(p1)static StreamWriter AppendText(string path)
CopyCopy([ :sourceFileName = …, :destFileName = … ])
Copy([ :sourceFileName = …, :destFileName = …, :overwrite = … ])
static void Copy(string sourceFileName, string destFileName)
static void Copy(string sourceFileName, string destFileName, bool overwrite)
CreateCreate(value)
Create([ :path = … ])
Create([ :path = …, :bufferSize = … ])
Create([ :path = …, :bufferSize = …, :options = … ])
static FileStream Create(string path)
static FileStream Create(string path, int bufferSize)
static FileStream Create(string path, int bufferSize, FileOptions options)
CreateSymbolicLinkCreateSymbolicLink(p1,p2)static FileSystemInfo CreateSymbolicLink(string path, string pathToTarget)
CreateTextCreateText(p1)static StreamWriter CreateText(string path)
DecryptcallMethod("Decrypt",[p1])static void Decrypt(string path)
DeletecallMethod("Delete",[p1])static void Delete(string path)
EncryptcallMethod("Encrypt",[p1])static void Encrypt(string path)
ExistscallMethod("Exists",[p1])static bool Exists(string path)
GetAttributesGetAttributes(p1)static FileAttributes GetAttributes(string path)
static FileAttributes GetAttributes(SafeFileHandle fileHandle)
GetCreationTimeGetCreationTime(p1)static DateTime GetCreationTime(string path)
static DateTime GetCreationTime(SafeFileHandle fileHandle)
GetCreationTimeUtcGetCreationTimeUtc(p1)static DateTime GetCreationTimeUtc(string path)
static DateTime GetCreationTimeUtc(SafeFileHandle fileHandle)
GetLastAccessTimeGetLastAccessTime(p1)static DateTime GetLastAccessTime(string path)
static DateTime GetLastAccessTime(SafeFileHandle fileHandle)
GetLastAccessTimeUtcGetLastAccessTimeUtc(p1)static DateTime GetLastAccessTimeUtc(string path)
static DateTime GetLastAccessTimeUtc(SafeFileHandle fileHandle)
GetLastWriteTimeGetLastWriteTime(p1)static DateTime GetLastWriteTime(string path)
static DateTime GetLastWriteTime(SafeFileHandle fileHandle)
GetLastWriteTimeUtcGetLastWriteTimeUtc(p1)static DateTime GetLastWriteTimeUtc(string path)
static DateTime GetLastWriteTimeUtc(SafeFileHandle fileHandle)
GetUnixFileModeGetUnixFileMode(p1)static UnixFileMode GetUnixFileMode(string path)
static UnixFileMode GetUnixFileMode(SafeFileHandle fileHandle)
MoveMove([ :sourceFileName = …, :destFileName = … ])
Move([ :sourceFileName = …, :destFileName = …, :overwrite = … ])
static void Move(string sourceFileName, string destFileName)
static void Move(string sourceFileName, string destFileName, bool overwrite)
OpenOpen([ :path = …, :options = … ])
Open([ :path = …, :mode = … ])
Open([ :path = …, :mode = …, :access = … ])
Open([ :path = …, :mode = …, :access = …, :share = … ])
static FileStream Open(string path, FileStreamOptions options)
static FileStream Open(string path, FileMode mode)
static FileStream Open(string path, FileMode mode, FileAccess access)
static FileStream Open(string path, FileMode mode, FileAccess access, FileShare share)
OpenHandleOpenHandle([ :path = …, :mode = …, :access = …, :share = …, :options = …, :preallocationSize = … ])static SafeFileHandle OpenHandle(string path, FileMode mode = …, FileAccess access = …, FileShare share = …, FileOptions options = …, long preallocationSize = …)
OpenReadOpenRead(p1)static FileStream OpenRead(string path)
OpenTextOpenText(p1)static StreamReader OpenText(string path)
OpenWriteOpenWrite(p1)static FileStream OpenWrite(string path)
ReadAllBytesReadAllBytes(p1)static byte[] ReadAllBytes(string path)
ReadAllBytesAsyncReadAllBytesAsync([ :path = …, :cancellationToken = … ])static Task<byte[]> ReadAllBytesAsync(string path, CancellationToken cancellationToken = …)
ReadAllLinesReadAllLines(value)
ReadAllLines([ :path = … ])
ReadAllLines([ :path = …, :encoding = … ])
static string[] ReadAllLines(string path)
static string[] ReadAllLines(string path, Encoding encoding)
ReadAllLinesAsyncReadAllLinesAsync([ :path = …, :cancellationToken = … ])
ReadAllLinesAsync([ :path = …, :encoding = …, :cancellationToken = … ])
static Task<string[]> ReadAllLinesAsync(string path, CancellationToken cancellationToken = …)
static Task<string[]> ReadAllLinesAsync(string path, Encoding encoding, CancellationToken cancellationToken = …)
ReadAllTextReadAllText(value)
ReadAllText([ :path = … ])
ReadAllText([ :path = …, :encoding = … ])
static string ReadAllText(string path)
static string ReadAllText(string path, Encoding encoding)
ReadAllTextAsyncReadAllTextAsync([ :path = …, :cancellationToken = … ])
ReadAllTextAsync([ :path = …, :encoding = …, :cancellationToken = … ])
static Task<string> ReadAllTextAsync(string path, CancellationToken cancellationToken = …)
static Task<string> ReadAllTextAsync(string path, Encoding encoding, CancellationToken cancellationToken = …)
ReadLinesReadLines(value)
ReadLines([ :path = … ])
ReadLines([ :path = …, :encoding = … ])
static IEnumerable<string> ReadLines(string path)
static IEnumerable<string> ReadLines(string path, Encoding encoding)
ReadLinesAsyncReadLinesAsync([ :path = …, :cancellationToken = … ])
ReadLinesAsync([ :path = …, :encoding = …, :cancellationToken = … ])
static IAsyncEnumerable<string> ReadLinesAsync(string path, CancellationToken cancellationToken = …)
static IAsyncEnumerable<string> ReadLinesAsync(string path, Encoding encoding, CancellationToken cancellationToken = …)
ReplaceReplace([ :sourceFileName = …, :destinationFileName = …, :destinationBackupFileName = … ])
Replace([ :sourceFileName = …, :destinationFileName = …, :destinationBackupFileName = …, :ignoreMetadataErrors = … ])
static void Replace(string sourceFileName, string destinationFileName, string destinationBackupFileName)
static void Replace(string sourceFileName, string destinationFileName, string destinationBackupFileName, bool ignoreMetadataErrors)
ResolveLinkTargetResolveLinkTarget(p1,p2)static FileSystemInfo ResolveLinkTarget(string linkPath, bool returnFinalTarget)
SetAttributesSetAttributes(p1,p2)static void SetAttributes(string path, FileAttributes fileAttributes)
static void SetAttributes(SafeFileHandle fileHandle, FileAttributes fileAttributes)
SetCreationTimeSetCreationTime(p1,p2)static void SetCreationTime(string path, DateTime creationTime)
static void SetCreationTime(SafeFileHandle fileHandle, DateTime creationTime)
SetCreationTimeUtcSetCreationTimeUtc(p1,p2)static void SetCreationTimeUtc(string path, DateTime creationTimeUtc)
static void SetCreationTimeUtc(SafeFileHandle fileHandle, DateTime creationTimeUtc)
SetLastAccessTimeSetLastAccessTime(p1,p2)static void SetLastAccessTime(string path, DateTime lastAccessTime)
static void SetLastAccessTime(SafeFileHandle fileHandle, DateTime lastAccessTime)
SetLastAccessTimeUtcSetLastAccessTimeUtc(p1,p2)static void SetLastAccessTimeUtc(string path, DateTime lastAccessTimeUtc)
static void SetLastAccessTimeUtc(SafeFileHandle fileHandle, DateTime lastAccessTimeUtc)
SetLastWriteTimeSetLastWriteTime(p1,p2)static void SetLastWriteTime(string path, DateTime lastWriteTime)
static void SetLastWriteTime(SafeFileHandle fileHandle, DateTime lastWriteTime)
SetLastWriteTimeUtcSetLastWriteTimeUtc(p1,p2)static void SetLastWriteTimeUtc(string path, DateTime lastWriteTimeUtc)
static void SetLastWriteTimeUtc(SafeFileHandle fileHandle, DateTime lastWriteTimeUtc)
SetUnixFileModeSetUnixFileMode(p1,p2)static void SetUnixFileMode(string path, UnixFileMode mode)
static void SetUnixFileMode(SafeFileHandle fileHandle, UnixFileMode mode)
WriteAllBytesWriteAllBytes(p1,p2)static void WriteAllBytes(string path, byte[] bytes)
static void WriteAllBytes(string path, ReadOnlySpan<byte> bytes)
WriteAllBytesAsyncWriteAllBytesAsync([ :path = …, :bytes = …, :cancellationToken = … ])static Task WriteAllBytesAsync(string path, byte[] bytes, CancellationToken cancellationToken = …)
static Task WriteAllBytesAsync(string path, ReadOnlyMemory<byte> bytes, CancellationToken cancellationToken = …)
WriteAllLinesWriteAllLines([ :path = …, :contents = … ])
WriteAllLines([ :path = …, :contents = …, :encoding = … ])
static void WriteAllLines(string path, string[] contents)
static void WriteAllLines(string path, IEnumerable<string> contents)
static void WriteAllLines(string path, string[] contents, Encoding encoding)
static void WriteAllLines(string path, IEnumerable<string> contents, Encoding encoding)
WriteAllLinesAsyncWriteAllLinesAsync([ :path = …, :contents = …, :cancellationToken = … ])
WriteAllLinesAsync([ :path = …, :contents = …, :encoding = …, :cancellationToken = … ])
static Task WriteAllLinesAsync(string path, IEnumerable<string> contents, CancellationToken cancellationToken = …)
static Task WriteAllLinesAsync(string path, IEnumerable<string> contents, Encoding encoding, CancellationToken cancellationToken = …)
WriteAllTextWriteAllText([ :path = …, :contents = … ])
WriteAllText([ :path = …, :contents = …, :encoding = … ])
static void WriteAllText(string path, string contents)
static void WriteAllText(string path, ReadOnlySpan<char> contents)
static void WriteAllText(string path, string contents, Encoding encoding)
static void WriteAllText(string path, ReadOnlySpan<char> contents, Encoding encoding)
WriteAllTextAsyncWriteAllTextAsync([ :path = …, :contents = …, :cancellationToken = … ])
WriteAllTextAsync([ :path = …, :contents = …, :encoding = …, :cancellationToken = … ])
static Task WriteAllTextAsync(string path, string contents, CancellationToken cancellationToken = …)
static Task WriteAllTextAsync(string path, ReadOnlyMemory<char> contents, CancellationToken cancellationToken = …)
static Task WriteAllTextAsync(string path, string contents, Encoding encoding, CancellationToken cancellationToken = …)
static Task WriteAllTextAsync(string path, ReadOnlyMemory<char> contents, Encoding encoding, CancellationToken cancellationToken = …)
FileInfo class sealed · extends FileSystemInfo

System.IO.FileInfo · assembly System.Private.CoreLib

Implements: ISerializable

Constructors

new FileInfo(string fileName)

Ring: new FileInfo(args) uses one constructor; the others are chosen by the parameter names: new FileInfo().@New([ :param = value ]) or dnNew("FileInfo",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Namestringreado.getName()
Lengthlongreado.Length
DirectoryNamestringreado.DirectoryName
DirectoryDirectoryInforeado.Directory
IsReadOnlyboolread, writeo.IsReadOnly o.IsReadOnly = v
Existsboolreado.getExists()

Methods

MethodRing call.NET overloads
AppendTextcallMethod("AppendText",[])StreamWriter AppendText()
CopyToCopyTo(value)
CopyTo([ :destFileName = … ])
CopyTo([ :destFileName = …, :overwrite = … ])
FileInfo CopyTo(string destFileName)
FileInfo CopyTo(string destFileName, bool overwrite)
CreatecallMethod("Create",[])FileStream Create()
CreateTextcallMethod("CreateText",[])StreamWriter CreateText()
DecryptcallMethod("Decrypt",[])void Decrypt()
DeletecallMethod("Delete",[])void Delete()
EncryptcallMethod("Encrypt",[])void Encrypt()
MoveTocallMethod("MoveTo",[p1])
callMethod("MoveTo",[p1,p2])
void MoveTo(string destFileName)
void MoveTo(string destFileName, bool overwrite)
OpenOpen(value)
Open([ :options = … ])
Open([ :mode = … ])
Open([ :mode = …, :access = … ])
Open([ :mode = …, :access = …, :share = … ])
FileStream Open(FileStreamOptions options)
FileStream Open(FileMode mode)
FileStream Open(FileMode mode, FileAccess access)
FileStream Open(FileMode mode, FileAccess access, FileShare share)
OpenReadcallMethod("OpenRead",[])FileStream OpenRead()
OpenTextcallMethod("OpenText",[])StreamReader OpenText()
OpenWritecallMethod("OpenWrite",[])FileStream OpenWrite()
ReplaceReplace([ :destinationFileName = …, :destinationBackupFileName = … ])
Replace([ :destinationFileName = …, :destinationBackupFileName = …, :ignoreMetadataErrors = … ])
FileInfo Replace(string destinationFileName, string destinationBackupFileName)
FileInfo Replace(string destinationFileName, string destinationBackupFileName, bool ignoreMetadataErrors)

Members of the base class are inherited.

FileLoadException class · extends IOException

System.IO.FileLoadException · assembly System.Private.CoreLib

Implements: ISerializable

Constructors

new FileLoadException()
new FileLoadException(string message)
new FileLoadException(string message, Exception inner)
new FileLoadException(string message, string fileName)
new FileLoadException(string message, string fileName, Exception inner)

Ring: new FileLoadException(args) uses one constructor; the others are chosen by the parameter names: new FileLoadException().@New([ :param = value ]) or dnNew("FileLoadException",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Messagestringreado.getMessage()
FileNamestringreado.FileName
FusionLogstringreado.FusionLog

Methods

MethodRing call.NET overloads
GetObjectDataGetObjectData(p1,p2)void GetObjectData(SerializationInfo info, StreamingContext context)
ToStringcallMethod("ToString",[])string ToString()

Members of the base class are inherited.

FileNotFoundException class · extends IOException

System.IO.FileNotFoundException · assembly System.Private.CoreLib

Implements: ISerializable

Constructors

new FileNotFoundException()
new FileNotFoundException(string message)
new FileNotFoundException(string message, Exception innerException)
new FileNotFoundException(string message, string fileName)
new FileNotFoundException(string message, string fileName, Exception innerException)

Ring: new FileNotFoundException(args) uses one constructor; the others are chosen by the parameter names: new FileNotFoundException().@New([ :param = value ]) or dnNew("FileNotFoundException",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Messagestringreado.getMessage()
FileNamestringreado.FileName
FusionLogstringreado.FusionLog

Methods

MethodRing call.NET overloads
GetObjectDataGetObjectData(p1,p2)void GetObjectData(SerializationInfo info, StreamingContext context)
ToStringcallMethod("ToString",[])string ToString()

Members of the base class are inherited.

FileStream class · extends Stream

System.IO.FileStream · assembly System.Private.CoreLib

Implements: IDisposable, IAsyncDisposable

Constructors

new FileStream(IntPtr handle, FileAccess access)
new FileStream(IntPtr handle, FileAccess access, bool ownsHandle)
new FileStream(IntPtr handle, FileAccess access, bool ownsHandle, int bufferSize)
new FileStream(IntPtr handle, FileAccess access, bool ownsHandle, int bufferSize, bool isAsync)
new FileStream(SafeFileHandle handle, FileAccess access)
new FileStream(SafeFileHandle handle, FileAccess access, int bufferSize)
new FileStream(SafeFileHandle handle, FileAccess access, int bufferSize, bool isAsync)
new FileStream(string path, FileMode mode)
new FileStream(string path, FileMode mode, FileAccess access)
new FileStream(string path, FileMode mode, FileAccess access, FileShare share)
new FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize)
new FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, bool useAsync)
new FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options)
new FileStream(string path, FileStreamOptions options)

Ring: new FileStream(args) uses one constructor; the others are chosen by the parameter names: new FileStream().@New([ :param = value ]) or dnNew("FileStream",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
HandleIntPtrreado.Handle
CanReadboolreado.getCanRead()
CanWriteboolreado.getCanWrite()
SafeFileHandleSafeFileHandlereado.SafeFileHandle
Namestringreado.Name
IsAsyncboolreado.IsAsync
Lengthlongreado.getLength()
Positionlongread, writeo.getPosition() o.setPosition(v)
CanSeekboolreado.getCanSeek()

Methods

MethodRing call.NET overloads
BeginReadcallMethod("BeginRead",[p1,p2,p3,p4,p5])IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
BeginWritecallMethod("BeginWrite",[p1,p2,p3,p4,p5])IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
CopyTocallMethod("CopyTo",[p1,p2])void CopyTo(Stream destination, int bufferSize)
CopyToAsyncCopyToAsync([ :destination = …, :bufferSize = …, :cancellationToken = … ])Task CopyToAsync(Stream destination, int bufferSize, CancellationToken cancellationToken)
DisposeAsynccallMethod("DisposeAsync",[])ValueTask DisposeAsync()
EndReadEndRead(p1)int EndRead(IAsyncResult asyncResult)
EndWriteEndWrite(p1)void EndWrite(IAsyncResult asyncResult)
FlushcallMethod("Flush",[])
callMethod("Flush",[p1])
void Flush()
void Flush(bool flushToDisk)
FlushAsyncFlushAsync(value)
FlushAsync([ :cancellationToken = … ])
Task FlushAsync(CancellationToken cancellationToken)
LockcallMethod("Lock",[p1,p2])void Lock(long position, long length)
ReadRead(p1,p2,p3)int Read(byte[] buffer, int offset, int count)
int Read(Span<byte> buffer)
ReadAsyncReadAsync([ :buffer = …, :cancellationToken = … ])
ReadAsync([ :buffer = …, :offset = …, :count = …, :cancellationToken = … ])
Task<int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
ValueTask<int> ReadAsync(Memory<byte> buffer, CancellationToken cancellationToken = …)
ReadBytecallMethod("ReadByte",[])int ReadByte()
SeekSeek(p1,p2)long Seek(long offset, SeekOrigin origin)
SetLengthcallMethod("SetLength",[p1])void SetLength(long value)
UnlockcallMethod("Unlock",[p1,p2])void Unlock(long position, long length)
WriteWrite(p1,p2,p3)void Write(byte[] buffer, int offset, int count)
void Write(ReadOnlySpan<byte> buffer)
WriteAsyncWriteAsync([ :buffer = …, :cancellationToken = … ])
WriteAsync([ :buffer = …, :offset = …, :count = …, :cancellationToken = … ])
Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
ValueTask WriteAsync(ReadOnlyMemory<byte> buffer, CancellationToken cancellationToken = …)
WriteBytecallMethod("WriteByte",[p1])void WriteByte(byte value)

Members of the base class are inherited.

FileStreamOptions class sealed

System.IO.FileStreamOptions · assembly System.Private.CoreLib

Constructors

new FileStreamOptions()

Ring: new FileStreamOptions(args) uses one constructor; the others are chosen by the parameter names: new FileStreamOptions().@New([ :param = value ]) or dnNew("FileStreamOptions",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ModeFileModeread, writeo.Mode o.Mode = v
AccessFileAccessread, writeo.Access o.Access = v
ShareFileShareread, writeo.Share o.Share = v
OptionsFileOptionsread, writeo.Options o.Options = v
PreallocationSizelongread, writeo.PreallocationSize o.PreallocationSize = v
BufferSizeintread, writeo.BufferSize o.BufferSize = v
UnixCreateModeUnixFileMode?read, writeo.UnixCreateMode o.UnixCreateMode = v
FileSystemAclExtensions class static

System.IO.FileSystemAclExtensions · assembly System.IO.FileSystem.AccessControl

Methods

MethodRing call.NET overloads
CreateCreate([ :directoryInfo = …, :directorySecurity = … ])
Create([ :fileInfo = …, :mode = …, :rights = …, :share = …, :bufferSize = …, :options = …, :fileSecurity = … ])
static void Create(DirectoryInfo directoryInfo, DirectorySecurity directorySecurity)
static FileStream Create(FileInfo fileInfo, FileMode mode, FileSystemRights rights, FileShare share, int bufferSize, FileOptions options, FileSecurity fileSecurity)
CreateDirectoryCreateDirectory(p1,p2)static DirectoryInfo CreateDirectory(DirectorySecurity directorySecurity, string path)
GetAccessControlGetAccessControl(value)
GetAccessControl([ :directoryInfo = … ])
GetAccessControl([ :fileInfo = … ])
GetAccessControl([ :fileStream = … ])
GetAccessControl([ :directoryInfo = …, :includeSections = … ])
static DirectorySecurity GetAccessControl(DirectoryInfo directoryInfo)
static DirectorySecurity GetAccessControl(DirectoryInfo directoryInfo, AccessControlSections includeSections)
static FileSecurity GetAccessControl(FileInfo fileInfo)
static FileSecurity GetAccessControl(FileInfo fileInfo, AccessControlSections includeSections)
static FileSecurity GetAccessControl(FileStream fileStream)
SetAccessControlSetAccessControl(p1,p2)static void SetAccessControl(DirectoryInfo directoryInfo, DirectorySecurity directorySecurity)
static void SetAccessControl(FileInfo fileInfo, FileSecurity fileSecurity)
static void SetAccessControl(FileStream fileStream, FileSecurity fileSecurity)
FileSystemEventArgs class · extends EventArgs

System.IO.FileSystemEventArgs · assembly System.IO.FileSystem.Watcher

Constructors

new FileSystemEventArgs(WatcherChangeTypes changeType, string directory, string name)

Ring: new FileSystemEventArgs(args) uses one constructor; the others are chosen by the parameter names: new FileSystemEventArgs().@New([ :param = value ]) or dnNew("FileSystemEventArgs",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ChangeTypeWatcherChangeTypesreado.ChangeType
FullPathstringreado.FullPath
Namestringreado.Name

Members of the base class are inherited.

FileSystemInfo class abstract

System.IO.FileSystemInfo · assembly System.Private.CoreLib

Implements: ISerializable

Properties and fields

NameTypeAccessIn Ring
FullNamestringreado.FullName
Extensionstringreado.Extension
Namestringreado.Name
Existsboolreado.Exists
CreationTimeDateTimeread, writeo.CreationTime o.CreationTime = v
CreationTimeUtcDateTimeread, writeo.CreationTimeUtc o.CreationTimeUtc = v
LastAccessTimeDateTimeread, writeo.LastAccessTime o.LastAccessTime = v
LastAccessTimeUtcDateTimeread, writeo.LastAccessTimeUtc o.LastAccessTimeUtc = v
LastWriteTimeDateTimeread, writeo.LastWriteTime o.LastWriteTime = v
LastWriteTimeUtcDateTimeread, writeo.LastWriteTimeUtc o.LastWriteTimeUtc = v
LinkTargetstringreado.LinkTarget
UnixFileModeUnixFileModeread, writeo.UnixFileMode o.UnixFileMode = v
AttributesFileAttributesread, writeo.Attributes o.Attributes = v

Methods

MethodRing call.NET overloads
CreateAsSymbolicLinkcallMethod("CreateAsSymbolicLink",[p1])void CreateAsSymbolicLink(string pathToTarget)
DeletecallMethod("Delete",[])void Delete()
GetObjectDataGetObjectData(p1,p2)void GetObjectData(SerializationInfo info, StreamingContext context)
RefreshcallMethod("Refresh",[])void Refresh()
ResolveLinkTargetcallMethod("ResolveLinkTarget",[p1])FileSystemInfo ResolveLinkTarget(bool returnFinalTarget)
ToStringcallMethod("ToString",[])string ToString()
FileSystemWatcher class · extends Component

System.IO.FileSystemWatcher · assembly System.IO.FileSystem.Watcher

Implements: IComponent, IDisposable, ISupportInitialize

Constructors

new FileSystemWatcher()
new FileSystemWatcher(string path)
new FileSystemWatcher(string path, string filter)

Ring: new FileSystemWatcher(args) uses one constructor; the others are chosen by the parameter names: new FileSystemWatcher().@New([ :param = value ]) or dnNew("FileSystemWatcher",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
NotifyFilterNotifyFiltersread, writeo.NotifyFilter o.NotifyFilter = v
FiltersCollection<string>reado.Filters
EnableRaisingEventsboolread, writeo.EnableRaisingEvents o.EnableRaisingEvents = v
Filterstringread, writeo.Filter o.Filter = v
IncludeSubdirectoriesboolread, writeo.IncludeSubdirectories o.IncludeSubdirectories = v
InternalBufferSizeintread, writeo.InternalBufferSize o.InternalBufferSize = v
Pathstringread, writeo.Path o.Path = v
SiteISiteread, writeo.getSite() o.setSite(v)
SynchronizingObjectISynchronizeInvokeread, writeo.SynchronizingObject o.SynchronizingObject = v

Methods

MethodRing call.NET overloads
BeginInitcallMethod("BeginInit",[])void BeginInit()
EndInitcallMethod("EndInit",[])void EndInit()
WaitForChangedWaitForChanged(value)
WaitForChanged([ :changeType = … ])
WaitForChanged([ :changeType = …, :timeout = … ])
WaitForChangedResult WaitForChanged(WatcherChangeTypes changeType)
WaitForChangedResult WaitForChanged(WatcherChangeTypes changeType, int timeout)
WaitForChangedResult WaitForChanged(WatcherChangeTypes changeType, TimeSpan timeout)

Events

EventHandler typeIn Ring
ChangedFileSystemEventHandlero.setChangedEvent(code) · o.clearChangedEvent()
CreatedFileSystemEventHandlero.setCreatedEvent(code) · o.clearCreatedEvent()
DeletedFileSystemEventHandlero.setDeletedEvent(code) · o.clearDeletedEvent()
ErrorErrorEventHandlero.setErrorEvent(code) · o.clearErrorEvent()
RenamedRenamedEventHandlero.setRenamedEvent(code) · o.clearRenamedEvent()

Members of the base class are inherited.

InternalBufferOverflowException class · extends SystemException

System.IO.InternalBufferOverflowException · assembly System.IO.FileSystem.Watcher

Implements: ISerializable

Constructors

new InternalBufferOverflowException()
new InternalBufferOverflowException(string message)
new InternalBufferOverflowException(string message, Exception inner)

Ring: new InternalBufferOverflowException(args) uses one constructor; the others are chosen by the parameter names: new InternalBufferOverflowException().@New([ :param = value ]) or dnNew("InternalBufferOverflowException",[ :param = value ]).

Members of the base class are inherited.

InvalidDataException class sealed · extends SystemException

System.IO.InvalidDataException · assembly System.Private.CoreLib

Implements: ISerializable

Constructors

new InvalidDataException()
new InvalidDataException(string message)
new InvalidDataException(string message, Exception innerException)

Ring: new InvalidDataException(args) uses one constructor; the others are chosen by the parameter names: new InvalidDataException().@New([ :param = value ]) or dnNew("InvalidDataException",[ :param = value ]).

Members of the base class are inherited.

IOException class · extends SystemException

System.IO.IOException · assembly System.Private.CoreLib

Implements: ISerializable

Constructors

new IOException()
new IOException(string message)
new IOException(string message, int hresult)
new IOException(string message, Exception innerException)

Ring: new IOException(args) uses one constructor; the others are chosen by the parameter names: new IOException().@New([ :param = value ]) or dnNew("IOException",[ :param = value ]).

Members of the base class are inherited.

MemoryStream class · extends Stream

System.IO.MemoryStream · assembly System.Private.CoreLib

Implements: IDisposable, IAsyncDisposable

Constructors

new MemoryStream()
new MemoryStream(int capacity)
new MemoryStream(byte[] buffer)
new MemoryStream(byte[] buffer, bool writable)
new MemoryStream(byte[] buffer, int index, int count)
new MemoryStream(byte[] buffer, int index, int count, bool writable)
new MemoryStream(byte[] buffer, int index, int count, bool writable, bool publiclyVisible)

Ring: new MemoryStream(args) uses one constructor; the others are chosen by the parameter names: new MemoryStream().@New([ :param = value ]) or dnNew("MemoryStream",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
CanReadboolreado.getCanRead()
CanSeekboolreado.getCanSeek()
CanWriteboolreado.getCanWrite()
Capacityintread, writeo.Capacity o.Capacity = v
Lengthlongreado.getLength()
Positionlongread, writeo.getPosition() o.setPosition(v)

Methods

MethodRing call.NET overloads
CopyTocallMethod("CopyTo",[p1,p2])void CopyTo(Stream destination, int bufferSize)
CopyToAsyncCopyToAsync([ :destination = …, :bufferSize = …, :cancellationToken = … ])Task CopyToAsync(Stream destination, int bufferSize, CancellationToken cancellationToken)
FlushcallMethod("Flush",[])void Flush()
FlushAsyncFlushAsync(value)
FlushAsync([ :cancellationToken = … ])
Task FlushAsync(CancellationToken cancellationToken)
GetBuffercallMethod("GetBuffer",[])byte[] GetBuffer()
ReadRead(p1,p2,p3)int Read(byte[] buffer, int offset, int count)
int Read(Span<byte> buffer)
ReadAsyncReadAsync([ :buffer = …, :cancellationToken = … ])
ReadAsync([ :buffer = …, :offset = …, :count = …, :cancellationToken = … ])
Task<int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
ValueTask<int> ReadAsync(Memory<byte> buffer, CancellationToken cancellationToken = …)
ReadBytecallMethod("ReadByte",[])int ReadByte()
SeekSeek(p1,p2)long Seek(long offset, SeekOrigin loc)
SetLengthcallMethod("SetLength",[p1])void SetLength(long value)
ToArraycallMethod("ToArray",[])byte[] ToArray()
TryGetBufferTryGetBuffer()bool TryGetBuffer(out ArraySegment<byte> buffer)
WriteWrite(p1,p2,p3)void Write(byte[] buffer, int offset, int count)
void Write(ReadOnlySpan<byte> buffer)
WriteAsyncWriteAsync([ :buffer = …, :cancellationToken = … ])
WriteAsync([ :buffer = …, :offset = …, :count = …, :cancellationToken = … ])
Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
ValueTask WriteAsync(ReadOnlyMemory<byte> buffer, CancellationToken cancellationToken = …)
WriteBytecallMethod("WriteByte",[p1])void WriteByte(byte value)
WriteToWriteTo(p1)void WriteTo(Stream stream)

Members of the base class are inherited.

Path class static

System.IO.Path · assembly System.Private.CoreLib

Properties and fields

NameTypeAccessIn Ring
DirectorySeparatorCharcharread · statico.DirectorySeparatorChar
AltDirectorySeparatorCharcharread · statico.AltDirectorySeparatorChar
VolumeSeparatorCharcharread · statico.VolumeSeparatorChar
PathSeparatorcharread · statico.PathSeparator
InvalidPathCharschar[]read · statico.InvalidPathChars

Methods

MethodRing call.NET overloads
ChangeExtensioncallMethod("ChangeExtension",[p1,p2])static string ChangeExtension(string path, string extension)
CombineCombine(value)
Combine([ :paths = … ])
Combine([ :path1 = …, :path2 = … ])
Combine([ :path1 = …, :path2 = …, :path3 = … ])
Combine([ :path1 = …, :path2 = …, :path3 = …, :path4 = … ])
static string Combine(string path1, string path2)
static string Combine(string path1, string path2, string path3)
static string Combine(string path1, string path2, string path3, string path4)
static string Combine(string[] paths)
static string Combine(ReadOnlySpan<string> paths)
EndsInDirectorySeparatorcallMethod("EndsInDirectorySeparator",[p1])static bool EndsInDirectorySeparator(ReadOnlySpan<char> path)
static bool EndsInDirectorySeparator(string path)
ExistscallMethod("Exists",[p1])static bool Exists(string path)
GetDirectoryNamecallMethod("GetDirectoryName",[p1])static string GetDirectoryName(string path)
static ReadOnlySpan<char> GetDirectoryName(ReadOnlySpan<char> path)
GetExtensioncallMethod("GetExtension",[p1])static string GetExtension(string path)
static ReadOnlySpan<char> GetExtension(ReadOnlySpan<char> path)
GetFileNamecallMethod("GetFileName",[p1])static string GetFileName(string path)
static ReadOnlySpan<char> GetFileName(ReadOnlySpan<char> path)
GetFileNameWithoutExtensioncallMethod("GetFileNameWithoutExtension",[p1])static string GetFileNameWithoutExtension(string path)
static ReadOnlySpan<char> GetFileNameWithoutExtension(ReadOnlySpan<char> path)
GetFullPathGetFullPath(value)
GetFullPath([ :path = … ])
GetFullPath([ :path = …, :basePath = … ])
static string GetFullPath(string path)
static string GetFullPath(string path, string basePath)
GetInvalidFileNameCharsGetInvalidFileNameChars()static char[] GetInvalidFileNameChars()
GetInvalidPathChars@GetInvalidPathChars()static char[] GetInvalidPathChars()
GetPathRootcallMethod("GetPathRoot",[p1])static string GetPathRoot(string path)
static ReadOnlySpan<char> GetPathRoot(ReadOnlySpan<char> path)
GetRandomFileNamecallMethod("GetRandomFileName",[])static string GetRandomFileName()
GetRelativePathcallMethod("GetRelativePath",[p1,p2])static string GetRelativePath(string relativeTo, string path)
GetTempFileNamecallMethod("GetTempFileName",[])static string GetTempFileName()
GetTempPathcallMethod("GetTempPath",[])static string GetTempPath()
HasExtensioncallMethod("HasExtension",[p1])static bool HasExtension(string path)
static bool HasExtension(ReadOnlySpan<char> path)
IsPathFullyQualifiedcallMethod("IsPathFullyQualified",[p1])static bool IsPathFullyQualified(string path)
static bool IsPathFullyQualified(ReadOnlySpan<char> path)
IsPathRootedcallMethod("IsPathRooted",[p1])static bool IsPathRooted(string path)
static bool IsPathRooted(ReadOnlySpan<char> path)
JoinJoin(value)
Join([ :paths = … ])
Join([ :path1 = …, :path2 = … ])
Join([ :path1 = …, :path2 = …, :path3 = … ])
Join([ :path1 = …, :path2 = …, :path3 = …, :path4 = … ])
static string Join(ReadOnlySpan<char> path1, ReadOnlySpan<char> path2)
static string Join(ReadOnlySpan<char> path1, ReadOnlySpan<char> path2, ReadOnlySpan<char> path3)
static string Join(ReadOnlySpan<char> path1, ReadOnlySpan<char> path2, ReadOnlySpan<char> path3, ReadOnlySpan<char> path4)
static string Join(string path1, string path2)
static string Join(string path1, string path2, string path3)
static string Join(string path1, string path2, string path3, string path4)
static string Join(string[] paths)
static string Join(ReadOnlySpan<string> paths)
TrimEndingDirectorySeparatorcallMethod("TrimEndingDirectorySeparator",[p1])static string TrimEndingDirectorySeparator(string path)
static ReadOnlySpan<char> TrimEndingDirectorySeparator(ReadOnlySpan<char> path)
TryJoinTryJoin([ :path1 = …, :path2 = …, :destination = …, :charsWritten = … ])
TryJoin([ :path1 = …, :path2 = …, :path3 = …, :destination = …, :charsWritten = … ])
static bool TryJoin(ReadOnlySpan<char> path1, ReadOnlySpan<char> path2, Span<char> destination, out int charsWritten)
static bool TryJoin(ReadOnlySpan<char> path1, ReadOnlySpan<char> path2, ReadOnlySpan<char> path3, Span<char> destination, out int charsWritten)
PathTooLongException class · extends IOException

System.IO.PathTooLongException · assembly System.Private.CoreLib

Implements: ISerializable

Constructors

new PathTooLongException()
new PathTooLongException(string message)
new PathTooLongException(string message, Exception innerException)

Ring: new PathTooLongException(args) uses one constructor; the others are chosen by the parameter names: new PathTooLongException().@New([ :param = value ]) or dnNew("PathTooLongException",[ :param = value ]).

Members of the base class are inherited.

RandomAccess class static

System.IO.RandomAccess · assembly System.Private.CoreLib

Methods

MethodRing call.NET overloads
FlushToDiskFlushToDisk(p1)static void FlushToDisk(SafeFileHandle handle)
GetLengthGetLength(p1)static long GetLength(SafeFileHandle handle)
ReadRead(p1,p2,p3)static int Read(SafeFileHandle handle, Span<byte> buffer, long fileOffset)
static long Read(SafeFileHandle handle, IReadOnlyList<Memory<byte>> buffers, long fileOffset)
ReadAsyncReadAsync([ :handle = …, :buffer = …, :fileOffset = …, :cancellationToken = … ])
ReadAsync([ :handle = …, :buffers = …, :fileOffset = …, :cancellationToken = … ])
static ValueTask<int> ReadAsync(SafeFileHandle handle, Memory<byte> buffer, long fileOffset, CancellationToken cancellationToken = …)
static ValueTask<long> ReadAsync(SafeFileHandle handle, IReadOnlyList<Memory<byte>> buffers, long fileOffset, CancellationToken cancellationToken = …)
SetLengthSetLength(p1,p2)static void SetLength(SafeFileHandle handle, long length)
WriteWrite(p1,p2,p3)static void Write(SafeFileHandle handle, ReadOnlySpan<byte> buffer, long fileOffset)
static void Write(SafeFileHandle handle, IReadOnlyList<ReadOnlyMemory<byte>> buffers, long fileOffset)
WriteAsyncWriteAsync([ :handle = …, :buffer = …, :fileOffset = …, :cancellationToken = … ])
WriteAsync([ :handle = …, :buffers = …, :fileOffset = …, :cancellationToken = … ])
static ValueTask WriteAsync(SafeFileHandle handle, ReadOnlyMemory<byte> buffer, long fileOffset, CancellationToken cancellationToken = …)
static ValueTask WriteAsync(SafeFileHandle handle, IReadOnlyList<ReadOnlyMemory<byte>> buffers, long fileOffset, CancellationToken cancellationToken = …)
RenamedEventArgs class · extends FileSystemEventArgs

System.IO.RenamedEventArgs · assembly System.IO.FileSystem.Watcher

Constructors

new RenamedEventArgs(WatcherChangeTypes changeType, string directory, string name, string oldName)

Ring: new RenamedEventArgs(args) uses one constructor; the others are chosen by the parameter names: new RenamedEventArgs().@New([ :param = value ]) or dnNew("RenamedEventArgs",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
OldFullPathstringreado.OldFullPath
OldNamestringreado.OldName

Members of the base class are inherited.

Stream class abstract

System.IO.Stream · assembly System.Private.CoreLib

Implements: IDisposable, IAsyncDisposable

Properties and fields

NameTypeAccessIn Ring
CanReadboolreado.CanRead
CanWriteboolreado.CanWrite
CanSeekboolreado.CanSeek
CanTimeoutboolreado.CanTimeout
Lengthlongreado.Length
Positionlongread, writeo.Position o.Position = v
ReadTimeoutintread, writeo.ReadTimeout o.ReadTimeout = v
WriteTimeoutintread, writeo.WriteTimeout o.WriteTimeout = v
NullStreamread · statico.Null

Methods

MethodRing call.NET overloads
BeginReadcallMethod("BeginRead",[p1,p2,p3,p4,p5])IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
BeginWritecallMethod("BeginWrite",[p1,p2,p3,p4,p5])IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
ClosecallMethod("Close",[])void Close()
CopyTocallMethod("CopyTo",[p1])
callMethod("CopyTo",[p1,p2])
void CopyTo(Stream destination)
void CopyTo(Stream destination, int bufferSize)
CopyToAsyncCopyToAsync(value)
CopyToAsync([ :destination = … ])
CopyToAsync([ :destination = …, :bufferSize = … ])
CopyToAsync([ :destination = …, :cancellationToken = … ])
CopyToAsync([ :destination = …, :bufferSize = …, :cancellationToken = … ])
Task CopyToAsync(Stream destination)
Task CopyToAsync(Stream destination, int bufferSize)
Task CopyToAsync(Stream destination, CancellationToken cancellationToken)
Task CopyToAsync(Stream destination, int bufferSize, CancellationToken cancellationToken)
DisposecallMethod("Dispose",[])void Dispose()
DisposeAsynccallMethod("DisposeAsync",[])ValueTask DisposeAsync()
EndReadEndRead(p1)int EndRead(IAsyncResult asyncResult)
EndWriteEndWrite(p1)void EndWrite(IAsyncResult asyncResult)
FlushcallMethod("Flush",[])void Flush()
FlushAsyncFlushAsync(NULL)
FlushAsync(value)
FlushAsync([ :cancellationToken = … ])
Task FlushAsync()
Task FlushAsync(CancellationToken cancellationToken)
ReadRead(p1,p2,p3)int Read(byte[] buffer, int offset, int count)
int Read(Span<byte> buffer)
ReadAsyncReadAsync([ :buffer = …, :cancellationToken = … ])
ReadAsync([ :buffer = …, :offset = …, :count = … ])
ReadAsync([ :buffer = …, :offset = …, :count = …, :cancellationToken = … ])
Task<int> ReadAsync(byte[] buffer, int offset, int count)
Task<int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
ValueTask<int> ReadAsync(Memory<byte> buffer, CancellationToken cancellationToken = …)
ReadAtLeastReadAtLeast([ :buffer = …, :minimumBytes = …, :throwOnEndOfStream = … ])int ReadAtLeast(Span<byte> buffer, int minimumBytes, bool throwOnEndOfStream = …)
ReadAtLeastAsyncReadAtLeastAsync([ :buffer = …, :minimumBytes = …, :throwOnEndOfStream = …, :cancellationToken = … ])ValueTask<int> ReadAtLeastAsync(Memory<byte> buffer, int minimumBytes, bool throwOnEndOfStream = …, CancellationToken cancellationToken = …)
ReadBytecallMethod("ReadByte",[])int ReadByte()
ReadExactlyReadExactly(p1,p2,p3)void ReadExactly(Span<byte> buffer)
void ReadExactly(byte[] buffer, int offset, int count)
ReadExactlyAsyncReadExactlyAsync([ :buffer = …, :cancellationToken = … ])
ReadExactlyAsync([ :buffer = …, :offset = …, :count = …, :cancellationToken = … ])
ValueTask ReadExactlyAsync(Memory<byte> buffer, CancellationToken cancellationToken = …)
ValueTask ReadExactlyAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken = …)
SeekSeek(p1,p2)long Seek(long offset, SeekOrigin origin)
SetLengthcallMethod("SetLength",[p1])void SetLength(long value)
SynchronizedSynchronized(p1)static Stream Synchronized(Stream stream)
WriteWrite(p1,p2,p3)void Write(byte[] buffer, int offset, int count)
void Write(ReadOnlySpan<byte> buffer)
WriteAsyncWriteAsync([ :buffer = …, :cancellationToken = … ])
WriteAsync([ :buffer = …, :offset = …, :count = … ])
WriteAsync([ :buffer = …, :offset = …, :count = …, :cancellationToken = … ])
Task WriteAsync(byte[] buffer, int offset, int count)
Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
ValueTask WriteAsync(ReadOnlyMemory<byte> buffer, CancellationToken cancellationToken = …)
WriteBytecallMethod("WriteByte",[p1])void WriteByte(byte value)
StreamReader class · extends TextReader

System.IO.StreamReader · assembly System.Private.CoreLib

Implements: IDisposable

Constructors

new StreamReader(Stream stream)
new StreamReader(Stream stream, bool detectEncodingFromByteOrderMarks)
new StreamReader(Stream stream, Encoding encoding)
new StreamReader(Stream stream, Encoding encoding, bool detectEncodingFromByteOrderMarks)
new StreamReader(Stream stream, Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize)
new StreamReader(Stream stream, Encoding encoding = …, bool detectEncodingFromByteOrderMarks = …, int bufferSize = …, bool leaveOpen = …)
new StreamReader(string path)
new StreamReader(string path, bool detectEncodingFromByteOrderMarks)
new StreamReader(string path, Encoding encoding)
new StreamReader(string path, Encoding encoding, bool detectEncodingFromByteOrderMarks)
new StreamReader(string path, Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize)
new StreamReader(string path, FileStreamOptions options)
new StreamReader(string path, Encoding encoding, bool detectEncodingFromByteOrderMarks, FileStreamOptions options)

Ring: new StreamReader(args) uses one constructor; the others are chosen by the parameter names: new StreamReader().@New([ :param = value ]) or dnNew("StreamReader",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
CurrentEncodingEncodingreado.CurrentEncoding
BaseStreamStreamreado.BaseStream
EndOfStreamboolreado.EndOfStream
NullStreamReaderread · statico.getNull()

Methods

MethodRing call.NET overloads
ClosecallMethod("Close",[])void Close()
DiscardBufferedDatacallMethod("DiscardBufferedData",[])void DiscardBufferedData()
PeekcallMethod("Peek",[])int Peek()
ReadRead(NULL)
Read(value)
Read([ :buffer = … ])
Read([ :buffer = …, :index = …, :count = … ])
int Read()
int Read(char[] buffer, int index, int count)
int Read(Span<char> buffer)
ReadAsyncReadAsync([ :buffer = …, :cancellationToken = … ])
ReadAsync([ :buffer = …, :index = …, :count = … ])
Task<int> ReadAsync(char[] buffer, int index, int count)
ValueTask<int> ReadAsync(Memory<char> buffer, CancellationToken cancellationToken = …)
ReadBlockReadBlock(p1,p2,p3)int ReadBlock(char[] buffer, int index, int count)
int ReadBlock(Span<char> buffer)
ReadBlockAsyncReadBlockAsync([ :buffer = …, :cancellationToken = … ])
ReadBlockAsync([ :buffer = …, :index = …, :count = … ])
Task<int> ReadBlockAsync(char[] buffer, int index, int count)
ValueTask<int> ReadBlockAsync(Memory<char> buffer, CancellationToken cancellationToken = …)
ReadLinecallMethod("ReadLine",[])string ReadLine()
ReadLineAsyncReadLineAsync(NULL)
ReadLineAsync(value)
ReadLineAsync([ :cancellationToken = … ])
Task<string> ReadLineAsync()
ValueTask<string> ReadLineAsync(CancellationToken cancellationToken)
ReadToEndcallMethod("ReadToEnd",[])string ReadToEnd()
ReadToEndAsyncReadToEndAsync(NULL)
ReadToEndAsync(value)
ReadToEndAsync([ :cancellationToken = … ])
Task<string> ReadToEndAsync()
Task<string> ReadToEndAsync(CancellationToken cancellationToken)

Members of the base class are inherited.

StreamWriter class · extends TextWriter

System.IO.StreamWriter · assembly System.Private.CoreLib

Implements: IDisposable, IAsyncDisposable

Constructors

new StreamWriter(Stream stream)
new StreamWriter(Stream stream, Encoding encoding)
new StreamWriter(Stream stream, Encoding encoding, int bufferSize)
new StreamWriter(Stream stream, Encoding encoding = …, int bufferSize = …, bool leaveOpen = …)
new StreamWriter(string path)
new StreamWriter(string path, bool append)
new StreamWriter(string path, bool append, Encoding encoding)
new StreamWriter(string path, bool append, Encoding encoding, int bufferSize)
new StreamWriter(string path, FileStreamOptions options)
new StreamWriter(string path, Encoding encoding, FileStreamOptions options)

Ring: new StreamWriter(args) uses one constructor; the others are chosen by the parameter names: new StreamWriter().@New([ :param = value ]) or dnNew("StreamWriter",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
AutoFlushboolread, writeo.AutoFlush o.AutoFlush = v
BaseStreamStreamreado.BaseStream
EncodingEncodingreado.getEncoding()
NullStreamWriterread · statico.getNull()

Methods

MethodRing call.NET overloads
ClosecallMethod("Close",[])void Close()
DisposeAsynccallMethod("DisposeAsync",[])ValueTask DisposeAsync()
FlushcallMethod("Flush",[])void Flush()
FlushAsyncFlushAsync(NULL)
FlushAsync(value)
FlushAsync([ :cancellationToken = … ])
Task FlushAsync()
Task FlushAsync(CancellationToken cancellationToken)
WritecallMethod("Write",[p1])
callMethod("Write",[p1,p2])
callMethod("Write",[p1,p2,p3])
callMethod("Write",[p1,p2,p3,p4])
void Write(char value)
void Write(char[] buffer)
void Write(char[] buffer, int index, int count)
void Write(ReadOnlySpan<char> buffer)
void Write(string value)
void Write(string format, object arg0)
void Write(string format, object arg0, object arg1)
void Write(string format, object arg0, object arg1, object arg2)
void Write(string format, object[] arg)
void Write(string format, ReadOnlySpan<object> arg)
WriteAsyncWriteAsync(value)
WriteAsync([ :value = … ])
WriteAsync([ :buffer = …, :cancellationToken = … ])
WriteAsync([ :buffer = …, :index = …, :count = … ])
Task WriteAsync(char value)
Task WriteAsync(string value)
Task WriteAsync(char[] buffer, int index, int count)
Task WriteAsync(ReadOnlyMemory<char> buffer, CancellationToken cancellationToken = …)
WriteLinecallMethod("WriteLine",[p1])
callMethod("WriteLine",[p1,p2])
callMethod("WriteLine",[p1,p2,p3])
callMethod("WriteLine",[p1,p2,p3,p4])
void WriteLine(string value)
void WriteLine(ReadOnlySpan<char> buffer)
void WriteLine(string format, object arg0)
void WriteLine(string format, object arg0, object arg1)
void WriteLine(string format, object arg0, object arg1, object arg2)
void WriteLine(string format, object[] arg)
void WriteLine(string format, ReadOnlySpan<object> arg)
WriteLineAsyncWriteLineAsync(NULL)
WriteLineAsync(value)
WriteLineAsync([ :value = … ])
WriteLineAsync([ :buffer = …, :cancellationToken = … ])
WriteLineAsync([ :buffer = …, :index = …, :count = … ])
Task WriteLineAsync()
Task WriteLineAsync(char value)
Task WriteLineAsync(string value)
Task WriteLineAsync(char[] buffer, int index, int count)
Task WriteLineAsync(ReadOnlyMemory<char> buffer, CancellationToken cancellationToken = …)

Members of the base class are inherited.

StringReader class · extends TextReader

System.IO.StringReader · assembly System.Private.CoreLib

Implements: IDisposable

Constructors

new StringReader(string s)

Ring: new StringReader(args) uses one constructor; the others are chosen by the parameter names: new StringReader().@New([ :param = value ]) or dnNew("StringReader",[ :param = value ]).

Methods

MethodRing call.NET overloads
ClosecallMethod("Close",[])void Close()
PeekcallMethod("Peek",[])int Peek()
ReadRead(NULL)
Read(value)
Read([ :buffer = … ])
Read([ :buffer = …, :index = …, :count = … ])
int Read()
int Read(char[] buffer, int index, int count)
int Read(Span<char> buffer)
ReadAsyncReadAsync([ :buffer = …, :cancellationToken = … ])
ReadAsync([ :buffer = …, :index = …, :count = … ])
Task<int> ReadAsync(char[] buffer, int index, int count)
ValueTask<int> ReadAsync(Memory<char> buffer, CancellationToken cancellationToken = …)
ReadBlockReadBlock(p1,p2,p3)int ReadBlock(Span<char> buffer)
ReadBlockAsyncReadBlockAsync([ :buffer = …, :cancellationToken = … ])
ReadBlockAsync([ :buffer = …, :index = …, :count = … ])
Task<int> ReadBlockAsync(char[] buffer, int index, int count)
ValueTask<int> ReadBlockAsync(Memory<char> buffer, CancellationToken cancellationToken = …)
ReadLinecallMethod("ReadLine",[])string ReadLine()
ReadLineAsyncReadLineAsync(NULL)
ReadLineAsync(value)
ReadLineAsync([ :cancellationToken = … ])
Task<string> ReadLineAsync()
ValueTask<string> ReadLineAsync(CancellationToken cancellationToken)
ReadToEndcallMethod("ReadToEnd",[])string ReadToEnd()
ReadToEndAsyncReadToEndAsync(NULL)
ReadToEndAsync(value)
ReadToEndAsync([ :cancellationToken = … ])
Task<string> ReadToEndAsync()
Task<string> ReadToEndAsync(CancellationToken cancellationToken)

Members of the base class are inherited.

StringWriter class · extends TextWriter

System.IO.StringWriter · assembly System.Private.CoreLib

Implements: IDisposable, IAsyncDisposable

Constructors

new StringWriter()
new StringWriter(IFormatProvider formatProvider)
new StringWriter(StringBuilder sb)
new StringWriter(StringBuilder sb, IFormatProvider formatProvider)

Ring: new StringWriter(args) uses one constructor; the others are chosen by the parameter names: new StringWriter().@New([ :param = value ]) or dnNew("StringWriter",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
EncodingEncodingreado.getEncoding()

Methods

MethodRing call.NET overloads
ClosecallMethod("Close",[])void Close()
FlushAsyncFlushAsync(NULL)Task FlushAsync()
GetStringBuildercallMethod("GetStringBuilder",[])StringBuilder GetStringBuilder()
ToStringcallMethod("ToString",[])string ToString()
WritecallMethod("Write",[p1])
callMethod("Write",[p1,p2,p3])
void Write(char value)
void Write(char[] buffer, int index, int count)
void Write(ReadOnlySpan<char> buffer)
void Write(string value)
void Write(StringBuilder value)
WriteAsyncWriteAsync(value)
WriteAsync([ :value = … ])
WriteAsync([ :buffer = …, :cancellationToken = … ])
WriteAsync([ :value = …, :cancellationToken = … ])
WriteAsync([ :buffer = …, :index = …, :count = … ])
Task WriteAsync(char value)
Task WriteAsync(string value)
Task WriteAsync(char[] buffer, int index, int count)
Task WriteAsync(ReadOnlyMemory<char> buffer, CancellationToken cancellationToken = …)
Task WriteAsync(StringBuilder value, CancellationToken cancellationToken = …)
WriteLinecallMethod("WriteLine",[p1])void WriteLine(ReadOnlySpan<char> buffer)
void WriteLine(StringBuilder value)
WriteLineAsyncWriteLineAsync(value)
WriteLineAsync([ :value = … ])
WriteLineAsync([ :value = …, :cancellationToken = … ])
WriteLineAsync([ :buffer = …, :cancellationToken = … ])
WriteLineAsync([ :buffer = …, :index = …, :count = … ])
Task WriteLineAsync(char value)
Task WriteLineAsync(string value)
Task WriteLineAsync(StringBuilder value, CancellationToken cancellationToken = …)
Task WriteLineAsync(char[] buffer, int index, int count)
Task WriteLineAsync(ReadOnlyMemory<char> buffer, CancellationToken cancellationToken = …)

Members of the base class are inherited.

TextReader class abstract

System.IO.TextReader · assembly System.Private.CoreLib

Implements: IDisposable

Properties and fields

NameTypeAccessIn Ring
NullTextReaderread · statico.Null

Methods

MethodRing call.NET overloads
ClosecallMethod("Close",[])void Close()
DisposecallMethod("Dispose",[])void Dispose()
PeekcallMethod("Peek",[])int Peek()
ReadRead(NULL)
Read(value)
Read([ :buffer = … ])
Read([ :buffer = …, :index = …, :count = … ])
int Read()
int Read(char[] buffer, int index, int count)
int Read(Span<char> buffer)
ReadAsyncReadAsync([ :buffer = …, :cancellationToken = … ])
ReadAsync([ :buffer = …, :index = …, :count = … ])
Task<int> ReadAsync(char[] buffer, int index, int count)
ValueTask<int> ReadAsync(Memory<char> buffer, CancellationToken cancellationToken = …)
ReadBlockReadBlock(p1,p2,p3)int ReadBlock(char[] buffer, int index, int count)
int ReadBlock(Span<char> buffer)
ReadBlockAsyncReadBlockAsync([ :buffer = …, :cancellationToken = … ])
ReadBlockAsync([ :buffer = …, :index = …, :count = … ])
Task<int> ReadBlockAsync(char[] buffer, int index, int count)
ValueTask<int> ReadBlockAsync(Memory<char> buffer, CancellationToken cancellationToken = …)
ReadLinecallMethod("ReadLine",[])string ReadLine()
ReadLineAsyncReadLineAsync(NULL)
ReadLineAsync(value)
ReadLineAsync([ :cancellationToken = … ])
Task<string> ReadLineAsync()
ValueTask<string> ReadLineAsync(CancellationToken cancellationToken)
ReadToEndcallMethod("ReadToEnd",[])string ReadToEnd()
ReadToEndAsyncReadToEndAsync(NULL)
ReadToEndAsync(value)
ReadToEndAsync([ :cancellationToken = … ])
Task<string> ReadToEndAsync()
Task<string> ReadToEndAsync(CancellationToken cancellationToken)
SynchronizedSynchronized(p1)static TextReader Synchronized(TextReader reader)
TextWriter class abstract

System.IO.TextWriter · assembly System.Private.CoreLib

Implements: IDisposable, IAsyncDisposable

Properties and fields

NameTypeAccessIn Ring
FormatProviderIFormatProviderreado.FormatProvider
EncodingEncodingreado.Encoding
NewLinestringread, writeo.NewLine o.NewLine = v
NullTextWriterread · statico.Null

Methods

MethodRing call.NET overloads
ClosecallMethod("Close",[])void Close()
CreateBroadcastingCreateBroadcasting(p1)static TextWriter CreateBroadcasting(TextWriter[] writers)
DisposecallMethod("Dispose",[])void Dispose()
DisposeAsynccallMethod("DisposeAsync",[])ValueTask DisposeAsync()
FlushcallMethod("Flush",[])void Flush()
FlushAsyncFlushAsync(NULL)
FlushAsync(value)
FlushAsync([ :cancellationToken = … ])
Task FlushAsync()
Task FlushAsync(CancellationToken cancellationToken)
SynchronizedSynchronized(p1)static TextWriter Synchronized(TextWriter writer)
WritecallMethod("Write",[p1])
callMethod("Write",[p1,p2])
callMethod("Write",[p1,p2,p3])
callMethod("Write",[p1,p2,p3,p4])
void Write(char value)
void Write(char[] buffer)
void Write(char[] buffer, int index, int count)
void Write(ReadOnlySpan<char> buffer)
void Write(bool value)
void Write(int value)
void Write(uint value)
void Write(long value)
void Write(ulong value)
void Write(float value)
void Write(double value)
void Write(decimal value)
void Write(string value)
void Write(object value)
void Write(StringBuilder value)
void Write(string format, object arg0)
void Write(string format, object arg0, object arg1)
void Write(string format, object arg0, object arg1, object arg2)
void Write(string format, object[] arg)
void Write(string format, ReadOnlySpan<object> arg)
WriteAsyncWriteAsync(value)
WriteAsync([ :value = … ])
WriteAsync([ :buffer = … ])
WriteAsync([ :value = …, :cancellationToken = … ])
WriteAsync([ :buffer = …, :cancellationToken = … ])
Task WriteAsync(char value)
Task WriteAsync(string value)
Task WriteAsync(StringBuilder value, CancellationToken cancellationToken = …)
Task WriteAsync(char[] buffer)
Task WriteAsync(char[] buffer, int index, int count)
Task WriteAsync(ReadOnlyMemory<char> buffer, CancellationToken cancellationToken = …)
WriteLinecallMethod("WriteLine",[])
callMethod("WriteLine",[p1])
callMethod("WriteLine",[p1,p2])
callMethod("WriteLine",[p1,p2,p3])
callMethod("WriteLine",[p1,p2,p3,p4])
void WriteLine()
void WriteLine(char value)
void WriteLine(char[] buffer)
void WriteLine(char[] buffer, int index, int count)
void WriteLine(ReadOnlySpan<char> buffer)
void WriteLine(bool value)
void WriteLine(int value)
void WriteLine(uint value)
void WriteLine(long value)
void WriteLine(ulong value)
void WriteLine(float value)
void WriteLine(double value)
void WriteLine(decimal value)
void WriteLine(string value)
void WriteLine(StringBuilder value)
void WriteLine(object value)
void WriteLine(string format, object arg0)
void WriteLine(string format, object arg0, object arg1)
void WriteLine(string format, object arg0, object arg1, object arg2)
void WriteLine(string format, object[] arg)
void WriteLine(string format, ReadOnlySpan<object> arg)
WriteLineAsyncWriteLineAsync(NULL)
WriteLineAsync(value)
WriteLineAsync([ :value = … ])
WriteLineAsync([ :buffer = … ])
WriteLineAsync([ :value = …, :cancellationToken = … ])
WriteLineAsync([ :buffer = …, :cancellationToken = … ])
Task WriteLineAsync(char value)
Task WriteLineAsync(string value)
Task WriteLineAsync(StringBuilder value, CancellationToken cancellationToken = …)
Task WriteLineAsync(char[] buffer)
Task WriteLineAsync(char[] buffer, int index, int count)
Task WriteLineAsync(ReadOnlyMemory<char> buffer, CancellationToken cancellationToken = …)
Task WriteLineAsync()
UnmanagedMemoryAccessor class

System.IO.UnmanagedMemoryAccessor · assembly System.Private.CoreLib

Implements: IDisposable

Constructors

new UnmanagedMemoryAccessor(SafeBuffer buffer, long offset, long capacity)
new UnmanagedMemoryAccessor(SafeBuffer buffer, long offset, long capacity, FileAccess access)

Ring: new UnmanagedMemoryAccessor(args) uses one constructor; the others are chosen by the parameter names: new UnmanagedMemoryAccessor().@New([ :param = value ]) or dnNew("UnmanagedMemoryAccessor",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Capacitylongreado.Capacity
CanReadboolreado.CanRead
CanWriteboolreado.CanWrite

Methods

MethodRing call.NET overloads
DisposecallMethod("Dispose",[])void Dispose()
ReadRead(p1)void Read<T>(long position, out T structure)
ReadArrayReadArray(p1,p2,p3,p4)int ReadArray<T>(long position, T[] array, int offset, int count)
ReadBooleancallMethod("ReadBoolean",[p1])bool ReadBoolean(long position)
ReadBytecallMethod("ReadByte",[p1])byte ReadByte(long position)
ReadCharcallMethod("ReadChar",[p1])char ReadChar(long position)
ReadDecimalcallMethod("ReadDecimal",[p1])decimal ReadDecimal(long position)
ReadDoublecallMethod("ReadDouble",[p1])double ReadDouble(long position)
ReadInt16callMethod("ReadInt16",[p1])short ReadInt16(long position)
ReadInt32callMethod("ReadInt32",[p1])int ReadInt32(long position)
ReadInt64callMethod("ReadInt64",[p1])long ReadInt64(long position)
ReadSBytecallMethod("ReadSByte",[p1])sbyte ReadSByte(long position)
ReadSinglecallMethod("ReadSingle",[p1])float ReadSingle(long position)
ReadUInt16callMethod("ReadUInt16",[p1])ushort ReadUInt16(long position)
ReadUInt32callMethod("ReadUInt32",[p1])uint ReadUInt32(long position)
ReadUInt64callMethod("ReadUInt64",[p1])ulong ReadUInt64(long position)
WritecallMethod("Write",[p1,p2])void Write(long position, bool value)
void Write(long position, byte value)
void Write(long position, char value)
void Write(long position, short value)
void Write(long position, int value)
void Write(long position, long value)
void Write(long position, decimal value)
void Write(long position, float value)
void Write(long position, double value)
void Write(long position, sbyte value)
void Write(long position, ushort value)
void Write(long position, uint value)
void Write(long position, ulong value)
void Write<T>(long position, ref T structure)
WriteArrayWriteArray(p1,p2,p3,p4)void WriteArray<T>(long position, T[] array, int offset, int count)
UnmanagedMemoryStream class · extends Stream

System.IO.UnmanagedMemoryStream · assembly System.Private.CoreLib

Implements: IDisposable, IAsyncDisposable

Constructors

new UnmanagedMemoryStream(SafeBuffer buffer, long offset, long length)
new UnmanagedMemoryStream(SafeBuffer buffer, long offset, long length, FileAccess access)
new UnmanagedMemoryStream(Byte* pointer, long length)
new UnmanagedMemoryStream(Byte* pointer, long length, long capacity, FileAccess access)

Ring: new UnmanagedMemoryStream(args) uses one constructor; the others are chosen by the parameter names: new UnmanagedMemoryStream().@New([ :param = value ]) or dnNew("UnmanagedMemoryStream",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
CanReadboolreado.getCanRead()
CanSeekboolreado.getCanSeek()
CanWriteboolreado.getCanWrite()
Lengthlongreado.getLength()
Capacitylongreado.Capacity
Positionlongread, writeo.getPosition() o.setPosition(v)
PositionPointerByte*read, writeo.PositionPointer o.PositionPointer = v

Methods

MethodRing call.NET overloads
FlushcallMethod("Flush",[])void Flush()
FlushAsyncFlushAsync(value)
FlushAsync([ :cancellationToken = … ])
Task FlushAsync(CancellationToken cancellationToken)
ReadRead(p1,p2,p3)int Read(byte[] buffer, int offset, int count)
int Read(Span<byte> buffer)
ReadAsyncReadAsync([ :buffer = …, :cancellationToken = … ])
ReadAsync([ :buffer = …, :offset = …, :count = …, :cancellationToken = … ])
Task<int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
ValueTask<int> ReadAsync(Memory<byte> buffer, CancellationToken cancellationToken = …)
ReadBytecallMethod("ReadByte",[])int ReadByte()
SeekSeek(p1,p2)long Seek(long offset, SeekOrigin loc)
SetLengthcallMethod("SetLength",[p1])void SetLength(long value)
WriteWrite(p1,p2,p3)void Write(byte[] buffer, int offset, int count)
void Write(ReadOnlySpan<byte> buffer)
WriteAsyncWriteAsync([ :buffer = …, :cancellationToken = … ])
WriteAsync([ :buffer = …, :offset = …, :count = …, :cancellationToken = … ])
Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
ValueTask WriteAsync(ReadOnlyMemory<byte> buffer, CancellationToken cancellationToken = …)
WriteBytecallMethod("WriteByte",[p1])void WriteByte(byte value)

Members of the base class are inherited.

WaitForChangedResult struct

System.IO.WaitForChangedResult · assembly System.IO.FileSystem.Watcher

Properties and fields

NameTypeAccessIn Ring
ChangeTypeWatcherChangeTypesread, writeo.ChangeType o.ChangeType = v
Namestringread, writeo.Name o.Name = v
OldNamestringread, writeo.OldName o.OldName = v
TimedOutboolread, writeo.TimedOut o.TimedOut = v