7 references to IO_NotSupported_UnwritableStream
System.Formats.Tar (7)
src\runtime\src\libraries\Common\src\System\IO\SubReadStream.cs (2)
270
public override void SetLength(long value) => throw new NotSupportedException(SR.
IO_NotSupported_UnwritableStream
);
272
public override void Write(byte[] buffer, int offset, int count) => throw new NotSupportedException(SR.
IO_NotSupported_UnwritableStream
);
System\Formats\Tar\GnuSparseStream.cs (2)
563
public override void SetLength(long value) => throw new NotSupportedException(SR.
IO_NotSupported_UnwritableStream
);
565
public override void Write(byte[] buffer, int offset, int count) => throw new NotSupportedException(SR.
IO_NotSupported_UnwritableStream
);
System\Formats\Tar\TarFile.cs (2)
65
throw new ArgumentException(SR.
IO_NotSupported_UnwritableStream
, nameof(destination));
133
return Task.FromException(new ArgumentException(SR.
IO_NotSupported_UnwritableStream
, nameof(destination)));
System\Formats\Tar\TarWriter.cs (1)
95
throw new ArgumentException(SR.
IO_NotSupported_UnwritableStream
);