diff options
author | monojenkins <jo.shields+jenkins@xamarin.com> | 2019-07-17 14:06:50 +0300 |
---|---|---|
committer | monojenkins <jo.shields+jenkins@xamarin.com> | 2019-07-17 14:06:50 +0300 |
commit | 5989f244c0dc41a8894bcb5a7bdceeb2c9c8bb56 (patch) | |
tree | b15e47e405c557a5150880133286cdf5f0f2c8f2 | |
parent | e5adaddf527dfc4b0d5f44bf0b6e3c19b78c169e (diff) |
Apply changes from https://github.com/mono/mono/pull/15696 to API snapshot
-rw-r--r-- | profiles/monodroid/Facades/netstandard.cs | 14 | ||||
-rw-r--r-- | profiles/monodroid/System.Data.cs | 55 | ||||
-rw-r--r-- | profiles/monodroid/System.Net.Http.cs | 1 | ||||
-rw-r--r-- | profiles/monodroid/mscorlib.cs | 55 | ||||
-rw-r--r-- | profiles/monotouch/Facades/netstandard.cs | 14 | ||||
-rw-r--r-- | profiles/monotouch/System.Data.cs | 55 | ||||
-rw-r--r-- | profiles/monotouch/System.Net.Http.cs | 1 | ||||
-rw-r--r-- | profiles/monotouch/mscorlib.cs | 55 | ||||
-rw-r--r-- | profiles/net_4_x/Facades/netstandard.cs | 14 | ||||
-rw-r--r-- | profiles/net_4_x/System.Data.cs | 55 | ||||
-rw-r--r-- | profiles/net_4_x/System.Net.Http.cs | 1 | ||||
-rw-r--r-- | profiles/net_4_x/mscorlib.cs | 55 |
12 files changed, 348 insertions, 27 deletions
diff --git a/profiles/monodroid/Facades/netstandard.cs b/profiles/monodroid/Facades/netstandard.cs index f435448..faec721 100644 --- a/profiles/monodroid/Facades/netstandard.cs +++ b/profiles/monodroid/Facades/netstandard.cs @@ -2,14 +2,14 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -[assembly:System.Reflection.AssemblyVersionAttribute("2.0.0.0")] +[assembly:System.Reflection.AssemblyVersionAttribute("2.1.0.0")] [assembly:System.Diagnostics.DebuggableAttribute(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly:System.Reflection.AssemblyCompanyAttribute("Mono development team")] [assembly:System.Reflection.AssemblyCopyrightAttribute("(c) Various Mono authors")] [assembly:System.Reflection.AssemblyDefaultAliasAttribute("netstandard")] [assembly:System.Reflection.AssemblyDescriptionAttribute("netstandard")] -[assembly:System.Reflection.AssemblyFileVersionAttribute("2.0.0.0")] -[assembly:System.Reflection.AssemblyInformationalVersionAttribute("2.0.0.0")] +[assembly:System.Reflection.AssemblyFileVersionAttribute("2.1.0.0")] +[assembly:System.Reflection.AssemblyInformationalVersionAttribute("2.1.0.0")] [assembly:System.Reflection.AssemblyProductAttribute("Mono Common Language Infrastructure")] [assembly:System.Reflection.AssemblyTitleAttribute("netstandard")] [assembly:System.Runtime.CompilerServices.CompilationRelaxationsAttribute(8)] @@ -506,6 +506,7 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataColumnChangeEventHandler))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataColumnCollection))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataException))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataReaderExtensions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRelation))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRelationCollection))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRow))] @@ -706,6 +707,7 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.TraceOptions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.TraceSource))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.TraceSwitch))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.DiagnosticCounter))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventActivityOptions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventAttribute))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventChannel))] @@ -731,7 +733,10 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventTags))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventTask))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventWrittenEventArgs))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.IncrementingEventCounter))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.IncrementingPollingCounter))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.NonEventAttribute))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.PollingCounter))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.DivideByZeroException))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.DllNotFoundException))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Color))] @@ -1478,6 +1483,7 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Resources.ResourceWriter))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Resources.SatelliteContractVersionAttribute))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Resources.UltimateResourceFallbackLocation))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.AmbiguousImplementationException))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.AssemblyTargetedPatchBandAttribute))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.CompilerServices.AccessedThroughPropertyAttribute))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.CompilerServices.AsyncIteratorMethodBuilder))] @@ -1833,7 +1839,9 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Claims.ClaimTypes))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Claims.ClaimValueTypes))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Aes))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.AesCcm))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.AesCryptoServiceProvider))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.AesGcm))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.AesManaged))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.AsnEncodedData))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.AsnEncodedDataCollection))] diff --git a/profiles/monodroid/System.Data.cs b/profiles/monodroid/System.Data.cs index 444cb32..9977513 100644 --- a/profiles/monodroid/System.Data.cs +++ b/profiles/monodroid/System.Data.cs @@ -595,6 +595,38 @@ namespace System.Data public DataException(string s) { } public DataException(string s, System.Exception innerException) { } } + public static partial class DataReaderExtensions + { + public static bool GetBoolean(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static byte GetByte(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static long GetBytes(this System.Data.Common.DbDataReader reader, string name, long dataOffset, byte[] buffer, int bufferOffset, int length) { throw null; } + public static char GetChar(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static long GetChars(this System.Data.Common.DbDataReader reader, string name, long dataOffset, char[] buffer, int bufferOffset, int length) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public static System.Data.Common.DbDataReader GetData(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static string GetDataTypeName(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static System.DateTime GetDateTime(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static decimal GetDecimal(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static double GetDouble(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static System.Type GetFieldType(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static System.Threading.Tasks.Task<T> GetFieldValueAsync<T>(this System.Data.Common.DbDataReader reader, string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public static T GetFieldValue<T>(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static float GetFloat(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static System.Guid GetGuid(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static short GetInt16(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static int GetInt32(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static long GetInt64(this System.Data.Common.DbDataReader reader, string name) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public static System.Type GetProviderSpecificFieldType(this System.Data.Common.DbDataReader reader, string name) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public static object GetProviderSpecificValue(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static System.IO.Stream GetStream(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static string GetString(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static System.IO.TextReader GetTextReader(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static object GetValue(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static bool IsDBNull(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static System.Threading.Tasks.Task<bool> IsDBNullAsync(this System.Data.Common.DbDataReader reader, string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } [System.ComponentModel.DefaultPropertyAttribute("RelationName")] [System.ComponentModel.TypeConverterAttribute("System.Data.RelationshipConverter")] public partial class DataRelation @@ -2138,7 +2170,7 @@ namespace System.Data.Common public System.Nullable<int> NumericScale { get { throw null; } protected set { } } public string UdtAssemblyQualifiedName { get { throw null; } protected set { } } } - public abstract partial class DbCommand : System.ComponentModel.Component, System.Data.IDbCommand, System.IDisposable + public abstract partial class DbCommand : System.ComponentModel.Component, System.Data.IDbCommand, System.IAsyncDisposable, System.IDisposable { protected DbCommand() { } [System.ComponentModel.DefaultValueAttribute("")] @@ -2175,6 +2207,7 @@ namespace System.Data.Common public abstract void Cancel(); protected abstract System.Data.Common.DbParameter CreateDbParameter(); public System.Data.Common.DbParameter CreateParameter() { throw null; } + public virtual System.Threading.Tasks.ValueTask DisposeAsync() { throw null; } protected abstract System.Data.Common.DbDataReader ExecuteDbDataReader(System.Data.CommandBehavior behavior); protected virtual System.Threading.Tasks.Task<System.Data.Common.DbDataReader> ExecuteDbDataReaderAsync(System.Data.CommandBehavior behavior, System.Threading.CancellationToken cancellationToken) { throw null; } public abstract int ExecuteNonQuery(); @@ -2190,6 +2223,7 @@ namespace System.Data.Common public System.Threading.Tasks.Task<object> ExecuteScalarAsync() { throw null; } public virtual System.Threading.Tasks.Task<object> ExecuteScalarAsync(System.Threading.CancellationToken cancellationToken) { throw null; } public abstract void Prepare(); + public virtual System.Threading.Tasks.Task PrepareAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } System.Data.IDbDataParameter System.Data.IDbCommand.CreateParameter() { throw null; } System.Data.IDataReader System.Data.IDbCommand.ExecuteReader() { throw null; } System.Data.IDataReader System.Data.IDbCommand.ExecuteReader(System.Data.CommandBehavior behavior) { throw null; } @@ -2233,7 +2267,7 @@ namespace System.Data.Common protected abstract void SetRowUpdatingHandler(System.Data.Common.DbDataAdapter adapter); public virtual string UnquoteIdentifier(string quotedIdentifier) { throw null; } } - public abstract partial class DbConnection : System.ComponentModel.Component, System.Data.IDbConnection, System.IDisposable + public abstract partial class DbConnection : System.ComponentModel.Component, System.Data.IDbConnection, System.IAsyncDisposable, System.IDisposable { protected DbConnection() { } [System.ComponentModel.DefaultValueAttribute("")] @@ -2251,12 +2285,18 @@ namespace System.Data.Common public abstract System.Data.ConnectionState State { get; } public virtual event System.Data.StateChangeEventHandler StateChange { add { } remove { } } protected abstract System.Data.Common.DbTransaction BeginDbTransaction(System.Data.IsolationLevel isolationLevel); + protected virtual System.Threading.Tasks.ValueTask<System.Data.Common.DbTransaction> BeginDbTransactionAsync(System.Data.IsolationLevel isolationLevel, System.Threading.CancellationToken cancellationToken) { throw null; } public System.Data.Common.DbTransaction BeginTransaction() { throw null; } public System.Data.Common.DbTransaction BeginTransaction(System.Data.IsolationLevel isolationLevel) { throw null; } + public System.Threading.Tasks.ValueTask<System.Data.Common.DbTransaction> BeginTransactionAsync(System.Data.IsolationLevel isolationLevel, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public System.Threading.Tasks.ValueTask<System.Data.Common.DbTransaction> BeginTransactionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public abstract void ChangeDatabase(string databaseName); + public virtual System.Threading.Tasks.Task ChangeDatabaseAsync(string databaseName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public abstract void Close(); + public virtual System.Threading.Tasks.Task CloseAsync() { throw null; } public System.Data.Common.DbCommand CreateCommand() { throw null; } protected abstract System.Data.Common.DbCommand CreateDbCommand(); + public virtual System.Threading.Tasks.ValueTask DisposeAsync() { throw null; } public virtual void EnlistTransaction(System.Transactions.Transaction transaction) { } public virtual System.Data.DataTable GetSchema() { throw null; } public virtual System.Data.DataTable GetSchema(string collectionName) { throw null; } @@ -2422,7 +2462,7 @@ namespace System.Data.Common [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public bool ShouldSerializeKeyRestrictions() { throw null; } } - public abstract partial class DbDataReader : System.MarshalByRefObject, System.Collections.IEnumerable, System.Data.IDataReader, System.Data.IDataRecord, System.IDisposable + public abstract partial class DbDataReader : System.MarshalByRefObject, System.Collections.IEnumerable, System.Data.IDataReader, System.Data.IDataRecord, System.IAsyncDisposable, System.IDisposable { protected DbDataReader() { } public abstract int Depth { get; } @@ -2434,9 +2474,11 @@ namespace System.Data.Common public abstract int RecordsAffected { get; } public virtual int VisibleFieldCount { get { throw null; } } public virtual void Close() { } + public virtual System.Threading.Tasks.Task CloseAsync() { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public void Dispose() { } protected virtual void Dispose(bool disposing) { } + public virtual System.Threading.Tasks.ValueTask DisposeAsync() { throw null; } public abstract bool GetBoolean(int ordinal); public abstract byte GetByte(int ordinal); public abstract long GetBytes(int ordinal, long dataOffset, byte[] buffer, int bufferOffset, int length); @@ -2707,6 +2749,8 @@ namespace System.Data.Common public abstract partial class DbProviderFactory { protected DbProviderFactory() { } + public virtual bool CanCreateCommandBuilder { get { throw null; } } + public virtual bool CanCreateDataAdapter { get { throw null; } } public virtual bool CanCreateDataSourceEnumerator { get { throw null; } } public virtual System.Data.Common.DbCommand CreateCommand() { throw null; } public virtual System.Data.Common.DbCommandBuilder CreateCommandBuilder() { throw null; } @@ -2724,7 +2768,7 @@ namespace System.Data.Common public DbProviderSpecificTypePropertyAttribute(bool isProviderSpecificTypeProperty) { } public bool IsProviderSpecificTypeProperty { get { throw null; } } } - public abstract partial class DbTransaction : System.MarshalByRefObject, System.Data.IDbTransaction, System.IDisposable + public abstract partial class DbTransaction : System.MarshalByRefObject, System.Data.IDbTransaction, System.IAsyncDisposable, System.IDisposable { protected DbTransaction() { } public System.Data.Common.DbConnection Connection { get { throw null; } } @@ -2732,9 +2776,12 @@ namespace System.Data.Common public abstract System.Data.IsolationLevel IsolationLevel { get; } System.Data.IDbConnection System.Data.IDbTransaction.Connection { get { throw null; } } public abstract void Commit(); + public virtual System.Threading.Tasks.Task CommitAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public void Dispose() { } protected virtual void Dispose(bool disposing) { } + public virtual System.Threading.Tasks.ValueTask DisposeAsync() { throw null; } public abstract void Rollback(); + public virtual System.Threading.Tasks.Task RollbackAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public enum GroupByBehavior { diff --git a/profiles/monodroid/System.Net.Http.cs b/profiles/monodroid/System.Net.Http.cs index 8afeb1d..507b05e 100644 --- a/profiles/monodroid/System.Net.Http.cs +++ b/profiles/monodroid/System.Net.Http.cs @@ -211,6 +211,7 @@ namespace System.Net.Http public string ReasonPhrase { get { throw null; } set { } } public System.Net.Http.HttpRequestMessage RequestMessage { get { throw null; } set { } } public System.Net.HttpStatusCode StatusCode { get { throw null; } set { } } + public System.Net.Http.Headers.HttpResponseHeaders TrailingHeaders { get { throw null; } } public System.Version Version { get { throw null; } set { } } public void Dispose() { } protected virtual void Dispose(bool disposing) { } diff --git a/profiles/monodroid/mscorlib.cs b/profiles/monodroid/mscorlib.cs index 8ed38b0..2acb945 100644 --- a/profiles/monodroid/mscorlib.cs +++ b/profiles/monodroid/mscorlib.cs @@ -7874,6 +7874,16 @@ namespace System.Diagnostics.SymbolStore } namespace System.Diagnostics.Tracing { + public abstract partial class DiagnosticCounter : System.IDisposable + { + internal DiagnosticCounter() { } + public string DisplayName { get { throw null; } set { } } + public string DisplayUnits { get { throw null; } set { } } + public System.Diagnostics.Tracing.EventSource EventSource { get { throw null; } } + public string Name { get { throw null; } } + public void AddMetadata(string key, string value) { } + public void Dispose() { } + } [System.FlagsAttribute] public enum EventActivityOptions { @@ -7920,10 +7930,10 @@ namespace System.Diagnostics.Tracing public bool DisableEvent(int eventId) { throw null; } public bool EnableEvent(int eventId) { throw null; } } - public partial class EventCounter : System.IDisposable + public partial class EventCounter : System.Diagnostics.Tracing.DiagnosticCounter { public EventCounter(string name, System.Diagnostics.Tracing.EventSource eventSource) { } - public void Dispose() { } + public void WriteMetric(double value) { } public void WriteMetric(float value) { } } [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Struct, Inherited=false)] @@ -8151,18 +8161,35 @@ namespace System.Diagnostics.Tracing public System.Diagnostics.Tracing.EventLevel Level { get { throw null; } } public string Message { get { throw null; } } public System.Diagnostics.Tracing.EventOpcode Opcode { get { throw null; } } + public long OSThreadId { get { throw null; } } public System.Collections.ObjectModel.ReadOnlyCollection<object> Payload { get { throw null; } } public System.Collections.ObjectModel.ReadOnlyCollection<string> PayloadNames { get { throw null; } } public System.Guid RelatedActivityId { get { throw null; } } public System.Diagnostics.Tracing.EventTags Tags { get { throw null; } } public System.Diagnostics.Tracing.EventTask Task { get { throw null; } } + public System.DateTime TimeStamp { get { throw null; } } public byte Version { get { throw null; } } } + public partial class IncrementingEventCounter : System.Diagnostics.Tracing.DiagnosticCounter + { + public IncrementingEventCounter(string name, System.Diagnostics.Tracing.EventSource eventSource) { } + public System.TimeSpan DisplayRateTimeScale { get { throw null; } set { } } + public void Increment(double increment = 1) { } + } + public partial class IncrementingPollingCounter : System.Diagnostics.Tracing.DiagnosticCounter + { + public IncrementingPollingCounter(string name, System.Diagnostics.Tracing.EventSource eventSource, System.Func<double> totalValueProvider) { } + public System.TimeSpan DisplayRateTimeScale { get { throw null; } set { } } + } [System.AttributeUsageAttribute(System.AttributeTargets.Method)] public sealed partial class NonEventAttribute : System.Attribute { public NonEventAttribute() { } } + public partial class PollingCounter : System.Diagnostics.Tracing.DiagnosticCounter + { + public PollingCounter(string name, System.Diagnostics.Tracing.EventSource eventSource, System.Func<double> metricProvider) { } + } } namespace System.Globalization { @@ -21054,6 +21081,30 @@ namespace System.Security.Cryptography public static new System.Security.Cryptography.Aes Create() { throw null; } public static new System.Security.Cryptography.Aes Create(string algorithmName) { throw null; } } + public sealed partial class AesCcm : System.IDisposable + { + public AesCcm(byte[] key) { } + public AesCcm(System.ReadOnlySpan<byte> key) { } + public static System.Security.Cryptography.KeySizes NonceByteSizes { get { throw null; } } + public static System.Security.Cryptography.KeySizes TagByteSizes { get { throw null; } } + public void Decrypt(byte[] nonce, byte[] ciphertext, byte[] tag, byte[] plaintext, byte[] associatedData = null) { } + public void Decrypt(System.ReadOnlySpan<byte> nonce, System.ReadOnlySpan<byte> ciphertext, System.ReadOnlySpan<byte> tag, System.Span<byte> plaintext, System.ReadOnlySpan<byte> associatedData = default(System.ReadOnlySpan<byte>)) { } + public void Dispose() { } + public void Encrypt(byte[] nonce, byte[] plaintext, byte[] ciphertext, byte[] tag, byte[] associatedData = null) { } + public void Encrypt(System.ReadOnlySpan<byte> nonce, System.ReadOnlySpan<byte> plaintext, System.Span<byte> ciphertext, System.Span<byte> tag, System.ReadOnlySpan<byte> associatedData = default(System.ReadOnlySpan<byte>)) { } + } + public sealed partial class AesGcm : System.IDisposable + { + public AesGcm(byte[] key) { } + public AesGcm(System.ReadOnlySpan<byte> key) { } + public static System.Security.Cryptography.KeySizes NonceByteSizes { get { throw null; } } + public static System.Security.Cryptography.KeySizes TagByteSizes { get { throw null; } } + public void Decrypt(byte[] nonce, byte[] ciphertext, byte[] tag, byte[] plaintext, byte[] associatedData = null) { } + public void Decrypt(System.ReadOnlySpan<byte> nonce, System.ReadOnlySpan<byte> ciphertext, System.ReadOnlySpan<byte> tag, System.Span<byte> plaintext, System.ReadOnlySpan<byte> associatedData = default(System.ReadOnlySpan<byte>)) { } + public void Dispose() { } + public void Encrypt(byte[] nonce, byte[] plaintext, byte[] ciphertext, byte[] tag, byte[] associatedData = null) { } + public void Encrypt(System.ReadOnlySpan<byte> nonce, System.ReadOnlySpan<byte> plaintext, System.Span<byte> ciphertext, System.Span<byte> tag, System.ReadOnlySpan<byte> associatedData = default(System.ReadOnlySpan<byte>)) { } + } [System.Runtime.InteropServices.ComVisibleAttribute(true)] public abstract partial class AsymmetricAlgorithm : System.IDisposable { diff --git a/profiles/monotouch/Facades/netstandard.cs b/profiles/monotouch/Facades/netstandard.cs index f435448..faec721 100644 --- a/profiles/monotouch/Facades/netstandard.cs +++ b/profiles/monotouch/Facades/netstandard.cs @@ -2,14 +2,14 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -[assembly:System.Reflection.AssemblyVersionAttribute("2.0.0.0")] +[assembly:System.Reflection.AssemblyVersionAttribute("2.1.0.0")] [assembly:System.Diagnostics.DebuggableAttribute(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly:System.Reflection.AssemblyCompanyAttribute("Mono development team")] [assembly:System.Reflection.AssemblyCopyrightAttribute("(c) Various Mono authors")] [assembly:System.Reflection.AssemblyDefaultAliasAttribute("netstandard")] [assembly:System.Reflection.AssemblyDescriptionAttribute("netstandard")] -[assembly:System.Reflection.AssemblyFileVersionAttribute("2.0.0.0")] -[assembly:System.Reflection.AssemblyInformationalVersionAttribute("2.0.0.0")] +[assembly:System.Reflection.AssemblyFileVersionAttribute("2.1.0.0")] +[assembly:System.Reflection.AssemblyInformationalVersionAttribute("2.1.0.0")] [assembly:System.Reflection.AssemblyProductAttribute("Mono Common Language Infrastructure")] [assembly:System.Reflection.AssemblyTitleAttribute("netstandard")] [assembly:System.Runtime.CompilerServices.CompilationRelaxationsAttribute(8)] @@ -506,6 +506,7 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataColumnChangeEventHandler))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataColumnCollection))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataException))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataReaderExtensions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRelation))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRelationCollection))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRow))] @@ -706,6 +707,7 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.TraceOptions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.TraceSource))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.TraceSwitch))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.DiagnosticCounter))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventActivityOptions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventAttribute))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventChannel))] @@ -731,7 +733,10 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventTags))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventTask))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventWrittenEventArgs))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.IncrementingEventCounter))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.IncrementingPollingCounter))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.NonEventAttribute))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.PollingCounter))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.DivideByZeroException))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.DllNotFoundException))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Color))] @@ -1478,6 +1483,7 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Resources.ResourceWriter))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Resources.SatelliteContractVersionAttribute))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Resources.UltimateResourceFallbackLocation))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.AmbiguousImplementationException))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.AssemblyTargetedPatchBandAttribute))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.CompilerServices.AccessedThroughPropertyAttribute))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.CompilerServices.AsyncIteratorMethodBuilder))] @@ -1833,7 +1839,9 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Claims.ClaimTypes))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Claims.ClaimValueTypes))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Aes))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.AesCcm))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.AesCryptoServiceProvider))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.AesGcm))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.AesManaged))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.AsnEncodedData))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.AsnEncodedDataCollection))] diff --git a/profiles/monotouch/System.Data.cs b/profiles/monotouch/System.Data.cs index 444cb32..9977513 100644 --- a/profiles/monotouch/System.Data.cs +++ b/profiles/monotouch/System.Data.cs @@ -595,6 +595,38 @@ namespace System.Data public DataException(string s) { } public DataException(string s, System.Exception innerException) { } } + public static partial class DataReaderExtensions + { + public static bool GetBoolean(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static byte GetByte(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static long GetBytes(this System.Data.Common.DbDataReader reader, string name, long dataOffset, byte[] buffer, int bufferOffset, int length) { throw null; } + public static char GetChar(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static long GetChars(this System.Data.Common.DbDataReader reader, string name, long dataOffset, char[] buffer, int bufferOffset, int length) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public static System.Data.Common.DbDataReader GetData(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static string GetDataTypeName(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static System.DateTime GetDateTime(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static decimal GetDecimal(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static double GetDouble(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static System.Type GetFieldType(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static System.Threading.Tasks.Task<T> GetFieldValueAsync<T>(this System.Data.Common.DbDataReader reader, string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public static T GetFieldValue<T>(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static float GetFloat(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static System.Guid GetGuid(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static short GetInt16(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static int GetInt32(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static long GetInt64(this System.Data.Common.DbDataReader reader, string name) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public static System.Type GetProviderSpecificFieldType(this System.Data.Common.DbDataReader reader, string name) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public static object GetProviderSpecificValue(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static System.IO.Stream GetStream(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static string GetString(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static System.IO.TextReader GetTextReader(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static object GetValue(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static bool IsDBNull(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static System.Threading.Tasks.Task<bool> IsDBNullAsync(this System.Data.Common.DbDataReader reader, string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } [System.ComponentModel.DefaultPropertyAttribute("RelationName")] [System.ComponentModel.TypeConverterAttribute("System.Data.RelationshipConverter")] public partial class DataRelation @@ -2138,7 +2170,7 @@ namespace System.Data.Common public System.Nullable<int> NumericScale { get { throw null; } protected set { } } public string UdtAssemblyQualifiedName { get { throw null; } protected set { } } } - public abstract partial class DbCommand : System.ComponentModel.Component, System.Data.IDbCommand, System.IDisposable + public abstract partial class DbCommand : System.ComponentModel.Component, System.Data.IDbCommand, System.IAsyncDisposable, System.IDisposable { protected DbCommand() { } [System.ComponentModel.DefaultValueAttribute("")] @@ -2175,6 +2207,7 @@ namespace System.Data.Common public abstract void Cancel(); protected abstract System.Data.Common.DbParameter CreateDbParameter(); public System.Data.Common.DbParameter CreateParameter() { throw null; } + public virtual System.Threading.Tasks.ValueTask DisposeAsync() { throw null; } protected abstract System.Data.Common.DbDataReader ExecuteDbDataReader(System.Data.CommandBehavior behavior); protected virtual System.Threading.Tasks.Task<System.Data.Common.DbDataReader> ExecuteDbDataReaderAsync(System.Data.CommandBehavior behavior, System.Threading.CancellationToken cancellationToken) { throw null; } public abstract int ExecuteNonQuery(); @@ -2190,6 +2223,7 @@ namespace System.Data.Common public System.Threading.Tasks.Task<object> ExecuteScalarAsync() { throw null; } public virtual System.Threading.Tasks.Task<object> ExecuteScalarAsync(System.Threading.CancellationToken cancellationToken) { throw null; } public abstract void Prepare(); + public virtual System.Threading.Tasks.Task PrepareAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } System.Data.IDbDataParameter System.Data.IDbCommand.CreateParameter() { throw null; } System.Data.IDataReader System.Data.IDbCommand.ExecuteReader() { throw null; } System.Data.IDataReader System.Data.IDbCommand.ExecuteReader(System.Data.CommandBehavior behavior) { throw null; } @@ -2233,7 +2267,7 @@ namespace System.Data.Common protected abstract void SetRowUpdatingHandler(System.Data.Common.DbDataAdapter adapter); public virtual string UnquoteIdentifier(string quotedIdentifier) { throw null; } } - public abstract partial class DbConnection : System.ComponentModel.Component, System.Data.IDbConnection, System.IDisposable + public abstract partial class DbConnection : System.ComponentModel.Component, System.Data.IDbConnection, System.IAsyncDisposable, System.IDisposable { protected DbConnection() { } [System.ComponentModel.DefaultValueAttribute("")] @@ -2251,12 +2285,18 @@ namespace System.Data.Common public abstract System.Data.ConnectionState State { get; } public virtual event System.Data.StateChangeEventHandler StateChange { add { } remove { } } protected abstract System.Data.Common.DbTransaction BeginDbTransaction(System.Data.IsolationLevel isolationLevel); + protected virtual System.Threading.Tasks.ValueTask<System.Data.Common.DbTransaction> BeginDbTransactionAsync(System.Data.IsolationLevel isolationLevel, System.Threading.CancellationToken cancellationToken) { throw null; } public System.Data.Common.DbTransaction BeginTransaction() { throw null; } public System.Data.Common.DbTransaction BeginTransaction(System.Data.IsolationLevel isolationLevel) { throw null; } + public System.Threading.Tasks.ValueTask<System.Data.Common.DbTransaction> BeginTransactionAsync(System.Data.IsolationLevel isolationLevel, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public System.Threading.Tasks.ValueTask<System.Data.Common.DbTransaction> BeginTransactionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public abstract void ChangeDatabase(string databaseName); + public virtual System.Threading.Tasks.Task ChangeDatabaseAsync(string databaseName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public abstract void Close(); + public virtual System.Threading.Tasks.Task CloseAsync() { throw null; } public System.Data.Common.DbCommand CreateCommand() { throw null; } protected abstract System.Data.Common.DbCommand CreateDbCommand(); + public virtual System.Threading.Tasks.ValueTask DisposeAsync() { throw null; } public virtual void EnlistTransaction(System.Transactions.Transaction transaction) { } public virtual System.Data.DataTable GetSchema() { throw null; } public virtual System.Data.DataTable GetSchema(string collectionName) { throw null; } @@ -2422,7 +2462,7 @@ namespace System.Data.Common [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public bool ShouldSerializeKeyRestrictions() { throw null; } } - public abstract partial class DbDataReader : System.MarshalByRefObject, System.Collections.IEnumerable, System.Data.IDataReader, System.Data.IDataRecord, System.IDisposable + public abstract partial class DbDataReader : System.MarshalByRefObject, System.Collections.IEnumerable, System.Data.IDataReader, System.Data.IDataRecord, System.IAsyncDisposable, System.IDisposable { protected DbDataReader() { } public abstract int Depth { get; } @@ -2434,9 +2474,11 @@ namespace System.Data.Common public abstract int RecordsAffected { get; } public virtual int VisibleFieldCount { get { throw null; } } public virtual void Close() { } + public virtual System.Threading.Tasks.Task CloseAsync() { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public void Dispose() { } protected virtual void Dispose(bool disposing) { } + public virtual System.Threading.Tasks.ValueTask DisposeAsync() { throw null; } public abstract bool GetBoolean(int ordinal); public abstract byte GetByte(int ordinal); public abstract long GetBytes(int ordinal, long dataOffset, byte[] buffer, int bufferOffset, int length); @@ -2707,6 +2749,8 @@ namespace System.Data.Common public abstract partial class DbProviderFactory { protected DbProviderFactory() { } + public virtual bool CanCreateCommandBuilder { get { throw null; } } + public virtual bool CanCreateDataAdapter { get { throw null; } } public virtual bool CanCreateDataSourceEnumerator { get { throw null; } } public virtual System.Data.Common.DbCommand CreateCommand() { throw null; } public virtual System.Data.Common.DbCommandBuilder CreateCommandBuilder() { throw null; } @@ -2724,7 +2768,7 @@ namespace System.Data.Common public DbProviderSpecificTypePropertyAttribute(bool isProviderSpecificTypeProperty) { } public bool IsProviderSpecificTypeProperty { get { throw null; } } } - public abstract partial class DbTransaction : System.MarshalByRefObject, System.Data.IDbTransaction, System.IDisposable + public abstract partial class DbTransaction : System.MarshalByRefObject, System.Data.IDbTransaction, System.IAsyncDisposable, System.IDisposable { protected DbTransaction() { } public System.Data.Common.DbConnection Connection { get { throw null; } } @@ -2732,9 +2776,12 @@ namespace System.Data.Common public abstract System.Data.IsolationLevel IsolationLevel { get; } System.Data.IDbConnection System.Data.IDbTransaction.Connection { get { throw null; } } public abstract void Commit(); + public virtual System.Threading.Tasks.Task CommitAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public void Dispose() { } protected virtual void Dispose(bool disposing) { } + public virtual System.Threading.Tasks.ValueTask DisposeAsync() { throw null; } public abstract void Rollback(); + public virtual System.Threading.Tasks.Task RollbackAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public enum GroupByBehavior { diff --git a/profiles/monotouch/System.Net.Http.cs b/profiles/monotouch/System.Net.Http.cs index e8b2a04..b56a900 100644 --- a/profiles/monotouch/System.Net.Http.cs +++ b/profiles/monotouch/System.Net.Http.cs @@ -214,6 +214,7 @@ namespace System.Net.Http public string ReasonPhrase { get { throw null; } set { } } public System.Net.Http.HttpRequestMessage RequestMessage { get { throw null; } set { } } public System.Net.HttpStatusCode StatusCode { get { throw null; } set { } } + public System.Net.Http.Headers.HttpResponseHeaders TrailingHeaders { get { throw null; } } public System.Version Version { get { throw null; } set { } } public void Dispose() { } protected virtual void Dispose(bool disposing) { } diff --git a/profiles/monotouch/mscorlib.cs b/profiles/monotouch/mscorlib.cs index fdc367b..0a75533 100644 --- a/profiles/monotouch/mscorlib.cs +++ b/profiles/monotouch/mscorlib.cs @@ -7875,6 +7875,16 @@ namespace System.Diagnostics.SymbolStore } namespace System.Diagnostics.Tracing { + public abstract partial class DiagnosticCounter : System.IDisposable + { + internal DiagnosticCounter() { } + public string DisplayName { get { throw null; } set { } } + public string DisplayUnits { get { throw null; } set { } } + public System.Diagnostics.Tracing.EventSource EventSource { get { throw null; } } + public string Name { get { throw null; } } + public void AddMetadata(string key, string value) { } + public void Dispose() { } + } [System.FlagsAttribute] public enum EventActivityOptions { @@ -7921,10 +7931,10 @@ namespace System.Diagnostics.Tracing public bool DisableEvent(int eventId) { throw null; } public bool EnableEvent(int eventId) { throw null; } } - public partial class EventCounter : System.IDisposable + public partial class EventCounter : System.Diagnostics.Tracing.DiagnosticCounter { public EventCounter(string name, System.Diagnostics.Tracing.EventSource eventSource) { } - public void Dispose() { } + public void WriteMetric(double value) { } public void WriteMetric(float value) { } } [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Struct, Inherited=false)] @@ -8152,18 +8162,35 @@ namespace System.Diagnostics.Tracing public System.Diagnostics.Tracing.EventLevel Level { get { throw null; } } public string Message { get { throw null; } } public System.Diagnostics.Tracing.EventOpcode Opcode { get { throw null; } } + public long OSThreadId { get { throw null; } } public System.Collections.ObjectModel.ReadOnlyCollection<object> Payload { get { throw null; } } public System.Collections.ObjectModel.ReadOnlyCollection<string> PayloadNames { get { throw null; } } public System.Guid RelatedActivityId { get { throw null; } } public System.Diagnostics.Tracing.EventTags Tags { get { throw null; } } public System.Diagnostics.Tracing.EventTask Task { get { throw null; } } + public System.DateTime TimeStamp { get { throw null; } } public byte Version { get { throw null; } } } + public partial class IncrementingEventCounter : System.Diagnostics.Tracing.DiagnosticCounter + { + public IncrementingEventCounter(string name, System.Diagnostics.Tracing.EventSource eventSource) { } + public System.TimeSpan DisplayRateTimeScale { get { throw null; } set { } } + public void Increment(double increment = 1) { } + } + public partial class IncrementingPollingCounter : System.Diagnostics.Tracing.DiagnosticCounter + { + public IncrementingPollingCounter(string name, System.Diagnostics.Tracing.EventSource eventSource, System.Func<double> totalValueProvider) { } + public System.TimeSpan DisplayRateTimeScale { get { throw null; } set { } } + } [System.AttributeUsageAttribute(System.AttributeTargets.Method)] public sealed partial class NonEventAttribute : System.Attribute { public NonEventAttribute() { } } + public partial class PollingCounter : System.Diagnostics.Tracing.DiagnosticCounter + { + public PollingCounter(string name, System.Diagnostics.Tracing.EventSource eventSource, System.Func<double> metricProvider) { } + } } namespace System.Globalization { @@ -20444,6 +20471,30 @@ namespace System.Security.Cryptography public static new System.Security.Cryptography.Aes Create() { throw null; } public static new System.Security.Cryptography.Aes Create(string algorithmName) { throw null; } } + public sealed partial class AesCcm : System.IDisposable + { + public AesCcm(byte[] key) { } + public AesCcm(System.ReadOnlySpan<byte> key) { } + public static System.Security.Cryptography.KeySizes NonceByteSizes { get { throw null; } } + public static System.Security.Cryptography.KeySizes TagByteSizes { get { throw null; } } + public void Decrypt(byte[] nonce, byte[] ciphertext, byte[] tag, byte[] plaintext, byte[] associatedData = null) { } + public void Decrypt(System.ReadOnlySpan<byte> nonce, System.ReadOnlySpan<byte> ciphertext, System.ReadOnlySpan<byte> tag, System.Span<byte> plaintext, System.ReadOnlySpan<byte> associatedData = default(System.ReadOnlySpan<byte>)) { } + public void Dispose() { } + public void Encrypt(byte[] nonce, byte[] plaintext, byte[] ciphertext, byte[] tag, byte[] associatedData = null) { } + public void Encrypt(System.ReadOnlySpan<byte> nonce, System.ReadOnlySpan<byte> plaintext, System.Span<byte> ciphertext, System.Span<byte> tag, System.ReadOnlySpan<byte> associatedData = default(System.ReadOnlySpan<byte>)) { } + } + public sealed partial class AesGcm : System.IDisposable + { + public AesGcm(byte[] key) { } + public AesGcm(System.ReadOnlySpan<byte> key) { } + public static System.Security.Cryptography.KeySizes NonceByteSizes { get { throw null; } } + public static System.Security.Cryptography.KeySizes TagByteSizes { get { throw null; } } + public void Decrypt(byte[] nonce, byte[] ciphertext, byte[] tag, byte[] plaintext, byte[] associatedData = null) { } + public void Decrypt(System.ReadOnlySpan<byte> nonce, System.ReadOnlySpan<byte> ciphertext, System.ReadOnlySpan<byte> tag, System.Span<byte> plaintext, System.ReadOnlySpan<byte> associatedData = default(System.ReadOnlySpan<byte>)) { } + public void Dispose() { } + public void Encrypt(byte[] nonce, byte[] plaintext, byte[] ciphertext, byte[] tag, byte[] associatedData = null) { } + public void Encrypt(System.ReadOnlySpan<byte> nonce, System.ReadOnlySpan<byte> plaintext, System.Span<byte> ciphertext, System.Span<byte> tag, System.ReadOnlySpan<byte> associatedData = default(System.ReadOnlySpan<byte>)) { } + } [System.Runtime.InteropServices.ComVisibleAttribute(true)] public abstract partial class AsymmetricAlgorithm : System.IDisposable { diff --git a/profiles/net_4_x/Facades/netstandard.cs b/profiles/net_4_x/Facades/netstandard.cs index f435448..faec721 100644 --- a/profiles/net_4_x/Facades/netstandard.cs +++ b/profiles/net_4_x/Facades/netstandard.cs @@ -2,14 +2,14 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -[assembly:System.Reflection.AssemblyVersionAttribute("2.0.0.0")] +[assembly:System.Reflection.AssemblyVersionAttribute("2.1.0.0")] [assembly:System.Diagnostics.DebuggableAttribute(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly:System.Reflection.AssemblyCompanyAttribute("Mono development team")] [assembly:System.Reflection.AssemblyCopyrightAttribute("(c) Various Mono authors")] [assembly:System.Reflection.AssemblyDefaultAliasAttribute("netstandard")] [assembly:System.Reflection.AssemblyDescriptionAttribute("netstandard")] -[assembly:System.Reflection.AssemblyFileVersionAttribute("2.0.0.0")] -[assembly:System.Reflection.AssemblyInformationalVersionAttribute("2.0.0.0")] +[assembly:System.Reflection.AssemblyFileVersionAttribute("2.1.0.0")] +[assembly:System.Reflection.AssemblyInformationalVersionAttribute("2.1.0.0")] [assembly:System.Reflection.AssemblyProductAttribute("Mono Common Language Infrastructure")] [assembly:System.Reflection.AssemblyTitleAttribute("netstandard")] [assembly:System.Runtime.CompilerServices.CompilationRelaxationsAttribute(8)] @@ -506,6 +506,7 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataColumnChangeEventHandler))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataColumnCollection))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataException))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataReaderExtensions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRelation))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRelationCollection))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Data.DataRow))] @@ -706,6 +707,7 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.TraceOptions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.TraceSource))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.TraceSwitch))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.DiagnosticCounter))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventActivityOptions))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventAttribute))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventChannel))] @@ -731,7 +733,10 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventTags))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventTask))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.EventWrittenEventArgs))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.IncrementingEventCounter))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.IncrementingPollingCounter))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.NonEventAttribute))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Tracing.PollingCounter))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.DivideByZeroException))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.DllNotFoundException))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.Color))] @@ -1478,6 +1483,7 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Resources.ResourceWriter))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Resources.SatelliteContractVersionAttribute))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Resources.UltimateResourceFallbackLocation))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.AmbiguousImplementationException))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.AssemblyTargetedPatchBandAttribute))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.CompilerServices.AccessedThroughPropertyAttribute))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.CompilerServices.AsyncIteratorMethodBuilder))] @@ -1833,7 +1839,9 @@ [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Claims.ClaimTypes))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Claims.ClaimValueTypes))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.Aes))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.AesCcm))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.AesCryptoServiceProvider))] +[assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.AesGcm))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.AesManaged))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.AsnEncodedData))] [assembly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Security.Cryptography.AsnEncodedDataCollection))] diff --git a/profiles/net_4_x/System.Data.cs b/profiles/net_4_x/System.Data.cs index 2a636e5..65cac58 100644 --- a/profiles/net_4_x/System.Data.cs +++ b/profiles/net_4_x/System.Data.cs @@ -615,6 +615,38 @@ namespace System.Data public DataException(string s) { } public DataException(string s, System.Exception innerException) { } } + public static partial class DataReaderExtensions + { + public static bool GetBoolean(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static byte GetByte(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static long GetBytes(this System.Data.Common.DbDataReader reader, string name, long dataOffset, byte[] buffer, int bufferOffset, int length) { throw null; } + public static char GetChar(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static long GetChars(this System.Data.Common.DbDataReader reader, string name, long dataOffset, char[] buffer, int bufferOffset, int length) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public static System.Data.Common.DbDataReader GetData(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static string GetDataTypeName(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static System.DateTime GetDateTime(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static decimal GetDecimal(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static double GetDouble(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static System.Type GetFieldType(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static System.Threading.Tasks.Task<T> GetFieldValueAsync<T>(this System.Data.Common.DbDataReader reader, string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public static T GetFieldValue<T>(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static float GetFloat(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static System.Guid GetGuid(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static short GetInt16(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static int GetInt32(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static long GetInt64(this System.Data.Common.DbDataReader reader, string name) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public static System.Type GetProviderSpecificFieldType(this System.Data.Common.DbDataReader reader, string name) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public static object GetProviderSpecificValue(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static System.IO.Stream GetStream(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static string GetString(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static System.IO.TextReader GetTextReader(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static object GetValue(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static bool IsDBNull(this System.Data.Common.DbDataReader reader, string name) { throw null; } + public static System.Threading.Tasks.Task<bool> IsDBNullAsync(this System.Data.Common.DbDataReader reader, string name, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } [System.ComponentModel.DefaultPropertyAttribute("RelationName")] [System.ComponentModel.TypeConverterAttribute("System.Data.RelationshipConverter")] public partial class DataRelation @@ -2172,7 +2204,7 @@ namespace System.Data.Common public System.Nullable<int> NumericScale { get { throw null; } protected set { } } public string UdtAssemblyQualifiedName { get { throw null; } protected set { } } } - public abstract partial class DbCommand : System.ComponentModel.Component, System.Data.IDbCommand, System.IDisposable + public abstract partial class DbCommand : System.ComponentModel.Component, System.Data.IDbCommand, System.IAsyncDisposable, System.IDisposable { protected DbCommand() { } [System.ComponentModel.DefaultValueAttribute("")] @@ -2209,6 +2241,7 @@ namespace System.Data.Common public abstract void Cancel(); protected abstract System.Data.Common.DbParameter CreateDbParameter(); public System.Data.Common.DbParameter CreateParameter() { throw null; } + public virtual System.Threading.Tasks.ValueTask DisposeAsync() { throw null; } protected abstract System.Data.Common.DbDataReader ExecuteDbDataReader(System.Data.CommandBehavior behavior); protected virtual System.Threading.Tasks.Task<System.Data.Common.DbDataReader> ExecuteDbDataReaderAsync(System.Data.CommandBehavior behavior, System.Threading.CancellationToken cancellationToken) { throw null; } public abstract int ExecuteNonQuery(); @@ -2224,6 +2257,7 @@ namespace System.Data.Common public System.Threading.Tasks.Task<object> ExecuteScalarAsync() { throw null; } public virtual System.Threading.Tasks.Task<object> ExecuteScalarAsync(System.Threading.CancellationToken cancellationToken) { throw null; } public abstract void Prepare(); + public virtual System.Threading.Tasks.Task PrepareAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } System.Data.IDbDataParameter System.Data.IDbCommand.CreateParameter() { throw null; } System.Data.IDataReader System.Data.IDbCommand.ExecuteReader() { throw null; } System.Data.IDataReader System.Data.IDbCommand.ExecuteReader(System.Data.CommandBehavior behavior) { throw null; } @@ -2267,7 +2301,7 @@ namespace System.Data.Common protected abstract void SetRowUpdatingHandler(System.Data.Common.DbDataAdapter adapter); public virtual string UnquoteIdentifier(string quotedIdentifier) { throw null; } } - public abstract partial class DbConnection : System.ComponentModel.Component, System.Data.IDbConnection, System.IDisposable + public abstract partial class DbConnection : System.ComponentModel.Component, System.Data.IDbConnection, System.IAsyncDisposable, System.IDisposable { protected DbConnection() { } [System.ComponentModel.DefaultValueAttribute("")] @@ -2285,12 +2319,18 @@ namespace System.Data.Common public abstract System.Data.ConnectionState State { get; } public virtual event System.Data.StateChangeEventHandler StateChange { add { } remove { } } protected abstract System.Data.Common.DbTransaction BeginDbTransaction(System.Data.IsolationLevel isolationLevel); + protected virtual System.Threading.Tasks.ValueTask<System.Data.Common.DbTransaction> BeginDbTransactionAsync(System.Data.IsolationLevel isolationLevel, System.Threading.CancellationToken cancellationToken) { throw null; } public System.Data.Common.DbTransaction BeginTransaction() { throw null; } public System.Data.Common.DbTransaction BeginTransaction(System.Data.IsolationLevel isolationLevel) { throw null; } + public System.Threading.Tasks.ValueTask<System.Data.Common.DbTransaction> BeginTransactionAsync(System.Data.IsolationLevel isolationLevel, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public System.Threading.Tasks.ValueTask<System.Data.Common.DbTransaction> BeginTransactionAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public abstract void ChangeDatabase(string databaseName); + public virtual System.Threading.Tasks.Task ChangeDatabaseAsync(string databaseName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public abstract void Close(); + public virtual System.Threading.Tasks.Task CloseAsync() { throw null; } public System.Data.Common.DbCommand CreateCommand() { throw null; } protected abstract System.Data.Common.DbCommand CreateDbCommand(); + public virtual System.Threading.Tasks.ValueTask DisposeAsync() { throw null; } public virtual void EnlistTransaction(System.Transactions.Transaction transaction) { } public virtual System.Data.DataTable GetSchema() { throw null; } public virtual System.Data.DataTable GetSchema(string collectionName) { throw null; } @@ -2456,7 +2496,7 @@ namespace System.Data.Common [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public bool ShouldSerializeKeyRestrictions() { throw null; } } - public abstract partial class DbDataReader : System.MarshalByRefObject, System.Collections.IEnumerable, System.Data.IDataReader, System.Data.IDataRecord, System.IDisposable + public abstract partial class DbDataReader : System.MarshalByRefObject, System.Collections.IEnumerable, System.Data.IDataReader, System.Data.IDataRecord, System.IAsyncDisposable, System.IDisposable { protected DbDataReader() { } public abstract int Depth { get; } @@ -2468,9 +2508,11 @@ namespace System.Data.Common public abstract int RecordsAffected { get; } public virtual int VisibleFieldCount { get { throw null; } } public virtual void Close() { } + public virtual System.Threading.Tasks.Task CloseAsync() { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public void Dispose() { } protected virtual void Dispose(bool disposing) { } + public virtual System.Threading.Tasks.ValueTask DisposeAsync() { throw null; } public abstract bool GetBoolean(int ordinal); public abstract byte GetByte(int ordinal); public abstract long GetBytes(int ordinal, long dataOffset, byte[] buffer, int bufferOffset, int length); @@ -2752,6 +2794,8 @@ namespace System.Data.Common public abstract partial class DbProviderFactory { protected DbProviderFactory() { } + public virtual bool CanCreateCommandBuilder { get { throw null; } } + public virtual bool CanCreateDataAdapter { get { throw null; } } public virtual bool CanCreateDataSourceEnumerator { get { throw null; } } public virtual System.Data.Common.DbCommand CreateCommand() { throw null; } public virtual System.Data.Common.DbCommandBuilder CreateCommandBuilder() { throw null; } @@ -2769,7 +2813,7 @@ namespace System.Data.Common public DbProviderSpecificTypePropertyAttribute(bool isProviderSpecificTypeProperty) { } public bool IsProviderSpecificTypeProperty { get { throw null; } } } - public abstract partial class DbTransaction : System.MarshalByRefObject, System.Data.IDbTransaction, System.IDisposable + public abstract partial class DbTransaction : System.MarshalByRefObject, System.Data.IDbTransaction, System.IAsyncDisposable, System.IDisposable { protected DbTransaction() { } public System.Data.Common.DbConnection Connection { get { throw null; } } @@ -2777,9 +2821,12 @@ namespace System.Data.Common public abstract System.Data.IsolationLevel IsolationLevel { get; } System.Data.IDbConnection System.Data.IDbTransaction.Connection { get { throw null; } } public abstract void Commit(); + public virtual System.Threading.Tasks.Task CommitAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public void Dispose() { } protected virtual void Dispose(bool disposing) { } + public virtual System.Threading.Tasks.ValueTask DisposeAsync() { throw null; } public abstract void Rollback(); + public virtual System.Threading.Tasks.Task RollbackAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public enum GroupByBehavior { diff --git a/profiles/net_4_x/System.Net.Http.cs b/profiles/net_4_x/System.Net.Http.cs index e9d5821..5635b7a 100644 --- a/profiles/net_4_x/System.Net.Http.cs +++ b/profiles/net_4_x/System.Net.Http.cs @@ -211,6 +211,7 @@ namespace System.Net.Http public string ReasonPhrase { get { throw null; } set { } } public System.Net.Http.HttpRequestMessage RequestMessage { get { throw null; } set { } } public System.Net.HttpStatusCode StatusCode { get { throw null; } set { } } + public System.Net.Http.Headers.HttpResponseHeaders TrailingHeaders { get { throw null; } } public System.Version Version { get { throw null; } set { } } public void Dispose() { } protected virtual void Dispose(bool disposing) { } diff --git a/profiles/net_4_x/mscorlib.cs b/profiles/net_4_x/mscorlib.cs index eac82fb..2476fc6 100644 --- a/profiles/net_4_x/mscorlib.cs +++ b/profiles/net_4_x/mscorlib.cs @@ -7902,6 +7902,16 @@ namespace System.Diagnostics.SymbolStore } namespace System.Diagnostics.Tracing { + public abstract partial class DiagnosticCounter : System.IDisposable + { + internal DiagnosticCounter() { } + public string DisplayName { get { throw null; } set { } } + public string DisplayUnits { get { throw null; } set { } } + public System.Diagnostics.Tracing.EventSource EventSource { get { throw null; } } + public string Name { get { throw null; } } + public void AddMetadata(string key, string value) { } + public void Dispose() { } + } [System.FlagsAttribute] public enum EventActivityOptions { @@ -7948,10 +7958,10 @@ namespace System.Diagnostics.Tracing public bool DisableEvent(int eventId) { throw null; } public bool EnableEvent(int eventId) { throw null; } } - public partial class EventCounter : System.IDisposable + public partial class EventCounter : System.Diagnostics.Tracing.DiagnosticCounter { public EventCounter(string name, System.Diagnostics.Tracing.EventSource eventSource) { } - public void Dispose() { } + public void WriteMetric(double value) { } public void WriteMetric(float value) { } } [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Struct, Inherited=false)] @@ -8179,18 +8189,35 @@ namespace System.Diagnostics.Tracing public System.Diagnostics.Tracing.EventLevel Level { get { throw null; } } public string Message { get { throw null; } } public System.Diagnostics.Tracing.EventOpcode Opcode { get { throw null; } } + public long OSThreadId { get { throw null; } } public System.Collections.ObjectModel.ReadOnlyCollection<object> Payload { get { throw null; } } public System.Collections.ObjectModel.ReadOnlyCollection<string> PayloadNames { get { throw null; } } public System.Guid RelatedActivityId { get { throw null; } } public System.Diagnostics.Tracing.EventTags Tags { get { throw null; } } public System.Diagnostics.Tracing.EventTask Task { get { throw null; } } + public System.DateTime TimeStamp { get { throw null; } } public byte Version { get { throw null; } } } + public partial class IncrementingEventCounter : System.Diagnostics.Tracing.DiagnosticCounter + { + public IncrementingEventCounter(string name, System.Diagnostics.Tracing.EventSource eventSource) { } + public System.TimeSpan DisplayRateTimeScale { get { throw null; } set { } } + public void Increment(double increment = 1) { } + } + public partial class IncrementingPollingCounter : System.Diagnostics.Tracing.DiagnosticCounter + { + public IncrementingPollingCounter(string name, System.Diagnostics.Tracing.EventSource eventSource, System.Func<double> totalValueProvider) { } + public System.TimeSpan DisplayRateTimeScale { get { throw null; } set { } } + } [System.AttributeUsageAttribute(System.AttributeTargets.Method)] public sealed partial class NonEventAttribute : System.Attribute { public NonEventAttribute() { } } + public partial class PollingCounter : System.Diagnostics.Tracing.DiagnosticCounter + { + public PollingCounter(string name, System.Diagnostics.Tracing.EventSource eventSource, System.Func<double> metricProvider) { } + } } namespace System.Globalization { @@ -21201,6 +21228,30 @@ namespace System.Security.Cryptography public static new System.Security.Cryptography.Aes Create() { throw null; } public static new System.Security.Cryptography.Aes Create(string algorithmName) { throw null; } } + public sealed partial class AesCcm : System.IDisposable + { + public AesCcm(byte[] key) { } + public AesCcm(System.ReadOnlySpan<byte> key) { } + public static System.Security.Cryptography.KeySizes NonceByteSizes { get { throw null; } } + public static System.Security.Cryptography.KeySizes TagByteSizes { get { throw null; } } + public void Decrypt(byte[] nonce, byte[] ciphertext, byte[] tag, byte[] plaintext, byte[] associatedData = null) { } + public void Decrypt(System.ReadOnlySpan<byte> nonce, System.ReadOnlySpan<byte> ciphertext, System.ReadOnlySpan<byte> tag, System.Span<byte> plaintext, System.ReadOnlySpan<byte> associatedData = default(System.ReadOnlySpan<byte>)) { } + public void Dispose() { } + public void Encrypt(byte[] nonce, byte[] plaintext, byte[] ciphertext, byte[] tag, byte[] associatedData = null) { } + public void Encrypt(System.ReadOnlySpan<byte> nonce, System.ReadOnlySpan<byte> plaintext, System.Span<byte> ciphertext, System.Span<byte> tag, System.ReadOnlySpan<byte> associatedData = default(System.ReadOnlySpan<byte>)) { } + } + public sealed partial class AesGcm : System.IDisposable + { + public AesGcm(byte[] key) { } + public AesGcm(System.ReadOnlySpan<byte> key) { } + public static System.Security.Cryptography.KeySizes NonceByteSizes { get { throw null; } } + public static System.Security.Cryptography.KeySizes TagByteSizes { get { throw null; } } + public void Decrypt(byte[] nonce, byte[] ciphertext, byte[] tag, byte[] plaintext, byte[] associatedData = null) { } + public void Decrypt(System.ReadOnlySpan<byte> nonce, System.ReadOnlySpan<byte> ciphertext, System.ReadOnlySpan<byte> tag, System.Span<byte> plaintext, System.ReadOnlySpan<byte> associatedData = default(System.ReadOnlySpan<byte>)) { } + public void Dispose() { } + public void Encrypt(byte[] nonce, byte[] plaintext, byte[] ciphertext, byte[] tag, byte[] associatedData = null) { } + public void Encrypt(System.ReadOnlySpan<byte> nonce, System.ReadOnlySpan<byte> plaintext, System.Span<byte> ciphertext, System.Span<byte> tag, System.ReadOnlySpan<byte> associatedData = default(System.ReadOnlySpan<byte>)) { } + } [System.Runtime.InteropServices.ComVisibleAttribute(true)] public abstract partial class AsymmetricAlgorithm : System.IDisposable { |