Imported Upstream version 5.16.0.100

Former-commit-id: 38faa55fb9669e35e7d8448b15c25dc447f25767
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-08-07 15:19:03 +00:00
parent 0a9828183b
commit 7d7f676260
4419 changed files with 170950 additions and 90273 deletions

View File

@@ -108,7 +108,7 @@ namespace System.IO.IsolatedStorage
public IsolatedStorageScope Scope
{
get; protected set;
get; private set;
}
protected virtual char SeparatorExternal
@@ -128,7 +128,7 @@ namespace System.IO.IsolatedStorage
public abstract void Remove();
protected string IdentityHash
internal string IdentityHash
{
get; private set;
}

View File

@@ -247,6 +247,11 @@ namespace System.IO.IsolatedStorage
return _fs.ReadAsync(buffer, offset, count, cancellationToken);
}
public override ValueTask<int> ReadAsync(Memory<byte> buffer, CancellationToken cancellationToken)
{
return _fs.ReadAsync(buffer, cancellationToken);
}
public override int ReadByte()
{
return _fs.ReadByte();
@@ -269,6 +274,11 @@ namespace System.IO.IsolatedStorage
return _fs.WriteAsync(buffer, offset, count, cancellationToken);
}
public override ValueTask WriteAsync(ReadOnlyMemory<byte> buffer, CancellationToken cancellationToken)
{
return _fs.WriteAsync(buffer, cancellationToken);
}
public override void WriteByte(byte value)
{
_fs.WriteByte(value);