diff options
author | monojenkins <jo.shields+jenkins@xamarin.com> | 2018-12-09 16:04:11 +0300 |
---|---|---|
committer | monojenkins <jo.shields+jenkins@xamarin.com> | 2018-12-09 16:04:11 +0300 |
commit | 414afe3e01cfd635fa112639cec064f3dfd7a4f2 (patch) | |
tree | 9a2d0b27771de23c12e510470347a062a454a511 | |
parent | 657b2aa704470e0bbbe37379f3dabc7a5860f105 (diff) |
Apply changes from https://github.com/mono/mono/pull/11783 to API snapshot
-rw-r--r-- | profiles/monodroid/mscorlib.cs | 55 | ||||
-rw-r--r-- | profiles/monotouch/mscorlib.cs | 55 | ||||
-rw-r--r-- | profiles/net_4_x/mscorlib.cs | 55 |
3 files changed, 36 insertions, 129 deletions
diff --git a/profiles/monodroid/mscorlib.cs b/profiles/monodroid/mscorlib.cs index c4eeba7..206309c 100644 --- a/profiles/monodroid/mscorlib.cs +++ b/profiles/monodroid/mscorlib.cs @@ -9827,7 +9827,6 @@ namespace System.IO public override string ReadToEnd() { throw null; } public override System.Threading.Tasks.Task<string> ReadToEndAsync() { throw null; } } - [System.Runtime.InteropServices.ComVisibleAttribute(true)] [System.SerializableAttribute] public partial class StreamWriter : System.IO.TextWriter { @@ -9839,7 +9838,6 @@ namespace System.IO public StreamWriter(string path) { } public StreamWriter(string path, bool append) { } public StreamWriter(string path, bool append, System.Text.Encoding encoding) { } - [System.Security.SecuritySafeCriticalAttribute] public StreamWriter(string path, bool append, System.Text.Encoding encoding, int bufferSize) { } public virtual bool AutoFlush { get { throw null; } set { } } public virtual System.IO.Stream BaseStream { get { throw null; } } @@ -9847,33 +9845,22 @@ namespace System.IO public override void Close() { } protected override void Dispose(bool disposing) { } public override void Flush() { } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public override System.Threading.Tasks.Task FlushAsync() { throw null; } public override void Write(char value) { } - public override void Write(char[] buffer) { } - public override void Write(char[] buffer, int index, int count) { } - public override void Write(string value) { } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public override void Write(char[] buffer) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public override void Write(char[] buffer, int index, int count) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public override void Write(System.ReadOnlySpan<char> buffer) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public override void Write(string value) { } public override System.Threading.Tasks.Task WriteAsync(char value) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public override System.Threading.Tasks.Task WriteAsync(char[] buffer, int index, int count) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] + public override System.Threading.Tasks.Task WriteAsync(System.ReadOnlyMemory<char> buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.Task WriteAsync(string value) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public override void WriteLine(System.ReadOnlySpan<char> value) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public override void WriteLine(string value) { } public override System.Threading.Tasks.Task WriteLineAsync() { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public override System.Threading.Tasks.Task WriteLineAsync(char value) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public override System.Threading.Tasks.Task WriteLineAsync(char[] buffer, int index, int count) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] + public override System.Threading.Tasks.Task WriteLineAsync(System.ReadOnlyMemory<char> buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.Task WriteLineAsync(string value) { throw null; } } [System.Runtime.InteropServices.ComVisibleAttribute(true)] @@ -9959,7 +9946,6 @@ namespace System.IO public virtual System.Threading.Tasks.Task<string> ReadToEndAsync() { throw null; } public static System.IO.TextReader Synchronized(System.IO.TextReader reader) { throw null; } } - [System.Runtime.InteropServices.ComVisibleAttribute(true)] [System.SerializableAttribute] public abstract partial class TextWriter : System.MarshalByRefObject, System.IDisposable { @@ -9974,10 +9960,7 @@ namespace System.IO public void Dispose() { } protected virtual void Dispose(bool disposing) { } public virtual void Flush() { } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public virtual System.Threading.Tasks.Task FlushAsync() { throw null; } - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Synchronization=true)] public static System.IO.TextWriter Synchronized(System.IO.TextWriter writer) { throw null; } public virtual void Write(bool value) { } public virtual void Write(char value) { } @@ -9988,6 +9971,7 @@ namespace System.IO public virtual void Write(int value) { } public virtual void Write(long value) { } public virtual void Write(object value) { } + public virtual void Write(System.ReadOnlySpan<char> buffer) { } public virtual void Write(float value) { } public virtual void Write(string value) { } public virtual void Write(string format, object arg0) { } @@ -9998,17 +9982,10 @@ namespace System.IO public virtual void Write(uint value) { } [System.CLSCompliantAttribute(false)] public virtual void Write(ulong value) { } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public virtual System.Threading.Tasks.Task WriteAsync(char value) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public System.Threading.Tasks.Task WriteAsync(char[] buffer) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public virtual System.Threading.Tasks.Task WriteAsync(char[] buffer, int index, int count) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] + public virtual System.Threading.Tasks.Task WriteAsync(System.ReadOnlyMemory<char> buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task WriteAsync(string value) { throw null; } public virtual void WriteLine() { } public virtual void WriteLine(bool value) { } @@ -10020,6 +9997,7 @@ namespace System.IO public virtual void WriteLine(int value) { } public virtual void WriteLine(long value) { } public virtual void WriteLine(object value) { } + public virtual void WriteLine(System.ReadOnlySpan<char> buffer) { } public virtual void WriteLine(float value) { } public virtual void WriteLine(string value) { } public virtual void WriteLine(string format, object arg0) { } @@ -10030,20 +10008,11 @@ namespace System.IO public virtual void WriteLine(uint value) { } [System.CLSCompliantAttribute(false)] public virtual void WriteLine(ulong value) { } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public virtual System.Threading.Tasks.Task WriteLineAsync() { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public virtual System.Threading.Tasks.Task WriteLineAsync(char value) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public System.Threading.Tasks.Task WriteLineAsync(char[] buffer) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public virtual System.Threading.Tasks.Task WriteLineAsync(char[] buffer, int index, int count) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] + public virtual System.Threading.Tasks.Task WriteLineAsync(System.ReadOnlyMemory<char> buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task WriteLineAsync(string value) { throw null; } } public partial class UnmanagedMemoryAccessor : System.IDisposable diff --git a/profiles/monotouch/mscorlib.cs b/profiles/monotouch/mscorlib.cs index 38e80d9..f1f365c 100644 --- a/profiles/monotouch/mscorlib.cs +++ b/profiles/monotouch/mscorlib.cs @@ -9798,7 +9798,6 @@ namespace System.IO public override string ReadToEnd() { throw null; } public override System.Threading.Tasks.Task<string> ReadToEndAsync() { throw null; } } - [System.Runtime.InteropServices.ComVisibleAttribute(true)] [System.SerializableAttribute] public partial class StreamWriter : System.IO.TextWriter { @@ -9810,7 +9809,6 @@ namespace System.IO public StreamWriter(string path) { } public StreamWriter(string path, bool append) { } public StreamWriter(string path, bool append, System.Text.Encoding encoding) { } - [System.Security.SecuritySafeCriticalAttribute] public StreamWriter(string path, bool append, System.Text.Encoding encoding, int bufferSize) { } public virtual bool AutoFlush { get { throw null; } set { } } public virtual System.IO.Stream BaseStream { get { throw null; } } @@ -9818,33 +9816,22 @@ namespace System.IO public override void Close() { } protected override void Dispose(bool disposing) { } public override void Flush() { } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public override System.Threading.Tasks.Task FlushAsync() { throw null; } public override void Write(char value) { } - public override void Write(char[] buffer) { } - public override void Write(char[] buffer, int index, int count) { } - public override void Write(string value) { } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public override void Write(char[] buffer) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public override void Write(char[] buffer, int index, int count) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public override void Write(System.ReadOnlySpan<char> buffer) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public override void Write(string value) { } public override System.Threading.Tasks.Task WriteAsync(char value) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public override System.Threading.Tasks.Task WriteAsync(char[] buffer, int index, int count) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] + public override System.Threading.Tasks.Task WriteAsync(System.ReadOnlyMemory<char> buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.Task WriteAsync(string value) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public override void WriteLine(System.ReadOnlySpan<char> value) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public override void WriteLine(string value) { } public override System.Threading.Tasks.Task WriteLineAsync() { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public override System.Threading.Tasks.Task WriteLineAsync(char value) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public override System.Threading.Tasks.Task WriteLineAsync(char[] buffer, int index, int count) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] + public override System.Threading.Tasks.Task WriteLineAsync(System.ReadOnlyMemory<char> buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.Task WriteLineAsync(string value) { throw null; } } [System.Runtime.InteropServices.ComVisibleAttribute(true)] @@ -9930,7 +9917,6 @@ namespace System.IO public virtual System.Threading.Tasks.Task<string> ReadToEndAsync() { throw null; } public static System.IO.TextReader Synchronized(System.IO.TextReader reader) { throw null; } } - [System.Runtime.InteropServices.ComVisibleAttribute(true)] [System.SerializableAttribute] public abstract partial class TextWriter : System.MarshalByRefObject, System.IDisposable { @@ -9945,10 +9931,7 @@ namespace System.IO public void Dispose() { } protected virtual void Dispose(bool disposing) { } public virtual void Flush() { } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public virtual System.Threading.Tasks.Task FlushAsync() { throw null; } - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Synchronization=true)] public static System.IO.TextWriter Synchronized(System.IO.TextWriter writer) { throw null; } public virtual void Write(bool value) { } public virtual void Write(char value) { } @@ -9959,6 +9942,7 @@ namespace System.IO public virtual void Write(int value) { } public virtual void Write(long value) { } public virtual void Write(object value) { } + public virtual void Write(System.ReadOnlySpan<char> buffer) { } public virtual void Write(float value) { } public virtual void Write(string value) { } public virtual void Write(string format, object arg0) { } @@ -9969,17 +9953,10 @@ namespace System.IO public virtual void Write(uint value) { } [System.CLSCompliantAttribute(false)] public virtual void Write(ulong value) { } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public virtual System.Threading.Tasks.Task WriteAsync(char value) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public System.Threading.Tasks.Task WriteAsync(char[] buffer) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public virtual System.Threading.Tasks.Task WriteAsync(char[] buffer, int index, int count) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] + public virtual System.Threading.Tasks.Task WriteAsync(System.ReadOnlyMemory<char> buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task WriteAsync(string value) { throw null; } public virtual void WriteLine() { } public virtual void WriteLine(bool value) { } @@ -9991,6 +9968,7 @@ namespace System.IO public virtual void WriteLine(int value) { } public virtual void WriteLine(long value) { } public virtual void WriteLine(object value) { } + public virtual void WriteLine(System.ReadOnlySpan<char> buffer) { } public virtual void WriteLine(float value) { } public virtual void WriteLine(string value) { } public virtual void WriteLine(string format, object arg0) { } @@ -10001,20 +9979,11 @@ namespace System.IO public virtual void WriteLine(uint value) { } [System.CLSCompliantAttribute(false)] public virtual void WriteLine(ulong value) { } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public virtual System.Threading.Tasks.Task WriteLineAsync() { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public virtual System.Threading.Tasks.Task WriteLineAsync(char value) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public System.Threading.Tasks.Task WriteLineAsync(char[] buffer) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public virtual System.Threading.Tasks.Task WriteLineAsync(char[] buffer, int index, int count) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] + public virtual System.Threading.Tasks.Task WriteLineAsync(System.ReadOnlyMemory<char> buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task WriteLineAsync(string value) { throw null; } } public partial class UnmanagedMemoryAccessor : System.IDisposable diff --git a/profiles/net_4_x/mscorlib.cs b/profiles/net_4_x/mscorlib.cs index 5023d0c..9d4a45d 100644 --- a/profiles/net_4_x/mscorlib.cs +++ b/profiles/net_4_x/mscorlib.cs @@ -9862,7 +9862,6 @@ namespace System.IO public override string ReadToEnd() { throw null; } public override System.Threading.Tasks.Task<string> ReadToEndAsync() { throw null; } } - [System.Runtime.InteropServices.ComVisibleAttribute(true)] [System.SerializableAttribute] public partial class StreamWriter : System.IO.TextWriter { @@ -9874,7 +9873,6 @@ namespace System.IO public StreamWriter(string path) { } public StreamWriter(string path, bool append) { } public StreamWriter(string path, bool append, System.Text.Encoding encoding) { } - [System.Security.SecuritySafeCriticalAttribute] public StreamWriter(string path, bool append, System.Text.Encoding encoding, int bufferSize) { } public virtual bool AutoFlush { get { throw null; } set { } } public virtual System.IO.Stream BaseStream { get { throw null; } } @@ -9882,33 +9880,22 @@ namespace System.IO public override void Close() { } protected override void Dispose(bool disposing) { } public override void Flush() { } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public override System.Threading.Tasks.Task FlushAsync() { throw null; } public override void Write(char value) { } - public override void Write(char[] buffer) { } - public override void Write(char[] buffer, int index, int count) { } - public override void Write(string value) { } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public override void Write(char[] buffer) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public override void Write(char[] buffer, int index, int count) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public override void Write(System.ReadOnlySpan<char> buffer) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public override void Write(string value) { } public override System.Threading.Tasks.Task WriteAsync(char value) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public override System.Threading.Tasks.Task WriteAsync(char[] buffer, int index, int count) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] + public override System.Threading.Tasks.Task WriteAsync(System.ReadOnlyMemory<char> buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.Task WriteAsync(string value) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public override void WriteLine(System.ReadOnlySpan<char> value) { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public override void WriteLine(string value) { } public override System.Threading.Tasks.Task WriteLineAsync() { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public override System.Threading.Tasks.Task WriteLineAsync(char value) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public override System.Threading.Tasks.Task WriteLineAsync(char[] buffer, int index, int count) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] + public override System.Threading.Tasks.Task WriteLineAsync(System.ReadOnlyMemory<char> buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public override System.Threading.Tasks.Task WriteLineAsync(string value) { throw null; } } [System.Runtime.InteropServices.ComVisibleAttribute(true)] @@ -9994,7 +9981,6 @@ namespace System.IO public virtual System.Threading.Tasks.Task<string> ReadToEndAsync() { throw null; } public static System.IO.TextReader Synchronized(System.IO.TextReader reader) { throw null; } } - [System.Runtime.InteropServices.ComVisibleAttribute(true)] [System.SerializableAttribute] public abstract partial class TextWriter : System.MarshalByRefObject, System.IDisposable { @@ -10009,10 +9995,7 @@ namespace System.IO public void Dispose() { } protected virtual void Dispose(bool disposing) { } public virtual void Flush() { } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public virtual System.Threading.Tasks.Task FlushAsync() { throw null; } - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Synchronization=true)] public static System.IO.TextWriter Synchronized(System.IO.TextWriter writer) { throw null; } public virtual void Write(bool value) { } public virtual void Write(char value) { } @@ -10023,6 +10006,7 @@ namespace System.IO public virtual void Write(int value) { } public virtual void Write(long value) { } public virtual void Write(object value) { } + public virtual void Write(System.ReadOnlySpan<char> buffer) { } public virtual void Write(float value) { } public virtual void Write(string value) { } public virtual void Write(string format, object arg0) { } @@ -10033,17 +10017,10 @@ namespace System.IO public virtual void Write(uint value) { } [System.CLSCompliantAttribute(false)] public virtual void Write(ulong value) { } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public virtual System.Threading.Tasks.Task WriteAsync(char value) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public System.Threading.Tasks.Task WriteAsync(char[] buffer) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public virtual System.Threading.Tasks.Task WriteAsync(char[] buffer, int index, int count) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] + public virtual System.Threading.Tasks.Task WriteAsync(System.ReadOnlyMemory<char> buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task WriteAsync(string value) { throw null; } public virtual void WriteLine() { } public virtual void WriteLine(bool value) { } @@ -10055,6 +10032,7 @@ namespace System.IO public virtual void WriteLine(int value) { } public virtual void WriteLine(long value) { } public virtual void WriteLine(object value) { } + public virtual void WriteLine(System.ReadOnlySpan<char> buffer) { } public virtual void WriteLine(float value) { } public virtual void WriteLine(string value) { } public virtual void WriteLine(string format, object arg0) { } @@ -10065,20 +10043,11 @@ namespace System.IO public virtual void WriteLine(uint value) { } [System.CLSCompliantAttribute(false)] public virtual void WriteLine(ulong value) { } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public virtual System.Threading.Tasks.Task WriteLineAsync() { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public virtual System.Threading.Tasks.Task WriteLineAsync(char value) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public System.Threading.Tasks.Task WriteLineAsync(char[] buffer) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] public virtual System.Threading.Tasks.Task WriteLineAsync(char[] buffer, int index, int count) { throw null; } - [System.Runtime.InteropServices.ComVisibleAttribute(false)] - [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, ExternalThreading=true)] + public virtual System.Threading.Tasks.Task WriteLineAsync(System.ReadOnlyMemory<char> buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task WriteLineAsync(string value) { throw null; } } public partial class UnmanagedMemoryAccessor : System.IDisposable |