diff options
author | monojenkins <jo.shields+jenkins@xamarin.com> | 2018-12-21 12:19:14 +0300 |
---|---|---|
committer | monojenkins <jo.shields+jenkins@xamarin.com> | 2018-12-21 12:19:14 +0300 |
commit | 0650b09af07ec100636a6d6f3a908c3b810fbe4f (patch) | |
tree | ac21557be00f142dd45d75c5869d72ab6ccac171 | |
parent | 414afe3e01cfd635fa112639cec064f3dfd7a4f2 (diff) |
Apply changes from https://github.com/mono/mono/pull/11944 to API snapshot
-rw-r--r-- | profiles/monodroid/System.cs | 11 | ||||
-rw-r--r-- | profiles/monodroid/mscorlib.cs | 24 | ||||
-rw-r--r-- | profiles/monotouch/System.cs | 11 | ||||
-rw-r--r-- | profiles/monotouch/mscorlib.cs | 24 | ||||
-rw-r--r-- | profiles/net_4_x/System.Data.cs | 5 | ||||
-rw-r--r-- | profiles/net_4_x/System.cs | 11 | ||||
-rw-r--r-- | profiles/net_4_x/mscorlib.cs | 24 |
7 files changed, 98 insertions, 12 deletions
diff --git a/profiles/monodroid/System.cs b/profiles/monodroid/System.cs index 6e23cc1..eb33572 100644 --- a/profiles/monodroid/System.cs +++ b/profiles/monodroid/System.cs @@ -8195,6 +8195,7 @@ namespace System.Net.Sockets public int Receive(System.Collections.Generic.IList<System.ArraySegment<byte>> buffers, System.Net.Sockets.SocketFlags socketFlags) { throw null; } [System.CLSCompliantAttribute(false)] public int Receive(System.Collections.Generic.IList<System.ArraySegment<byte>> buffers, System.Net.Sockets.SocketFlags socketFlags, out System.Net.Sockets.SocketError errorCode) { throw null; } + public int Receive(System.Span<byte> buffer) { throw null; } public int Receive(System.Span<byte> buffer, System.Net.Sockets.SocketFlags socketFlags) { throw null; } public bool ReceiveAsync(System.Net.Sockets.SocketAsyncEventArgs e) { throw null; } public int ReceiveFrom(byte[] buffer, int offset, int size, System.Net.Sockets.SocketFlags socketFlags, ref System.Net.EndPoint remoteEP) { throw null; } @@ -8216,6 +8217,7 @@ namespace System.Net.Sockets public int Send(System.Collections.Generic.IList<System.ArraySegment<byte>> buffers, System.Net.Sockets.SocketFlags socketFlags) { throw null; } [System.CLSCompliantAttribute(false)] public int Send(System.Collections.Generic.IList<System.ArraySegment<byte>> buffers, System.Net.Sockets.SocketFlags socketFlags, out System.Net.Sockets.SocketError errorCode) { throw null; } + public int Send(System.ReadOnlySpan<byte> buffer) { throw null; } public int Send(System.ReadOnlySpan<byte> buffer, System.Net.Sockets.SocketFlags socketFlags) { throw null; } public bool SendAsync(System.Net.Sockets.SocketAsyncEventArgs e) { throw null; } public void SendFile(string fileName) { } @@ -8246,6 +8248,7 @@ namespace System.Net.Sockets public int Count { get { throw null; } } public bool DisconnectReuseSocket { get { throw null; } set { } } public System.Net.Sockets.SocketAsyncOperation LastOperation { get { throw null; } } + public System.Memory<byte> MemoryBuffer { get { throw null; } } public int Offset { get { throw null; } } public System.Net.Sockets.IPPacketInformation ReceiveMessageFromPacketInfo { get { throw null; } } public System.Net.EndPoint RemoteEndPoint { get { throw null; } set { } } @@ -9044,6 +9047,9 @@ namespace System.Security.Authentication Md5 = 32771, None = 0, Sha1 = 32772, + Sha256 = 32780, + Sha384 = 32781, + Sha512 = 32782, } [System.SerializableAttribute] public partial class InvalidCredentialException : System.Security.Authentication.AuthenticationException @@ -9177,6 +9183,11 @@ namespace System.Security.Cryptography public bool MoveNext() { throw null; } public void Reset() { } } + public static partial class CryptographicOperations + { + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining, NoOptimization)]public static bool FixedTimeEquals(System.ReadOnlySpan<byte> left, System.ReadOnlySpan<byte> right) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining, NoOptimization)]public static void ZeroMemory(System.Span<byte> buffer) { } + } public sealed partial class Oid { public Oid() { } diff --git a/profiles/monodroid/mscorlib.cs b/profiles/monodroid/mscorlib.cs index 206309c..48a26cf 100644 --- a/profiles/monodroid/mscorlib.cs +++ b/profiles/monodroid/mscorlib.cs @@ -2848,6 +2848,7 @@ namespace System public static int CollectionCount(int generation) { throw null; } [System.Security.SecurityCriticalAttribute] public static void EndNoGCRegion() { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)]public static long GetAllocatedBytesForCurrentThread() { throw null; } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecuritySafeCriticalAttribute] public static int GetGeneration(object obj) { throw null; } [System.Security.SecuritySafeCriticalAttribute] @@ -7778,11 +7779,10 @@ namespace System.Diagnostics.SymbolStore NativeSectionOffset = 10, NativeStackRegister = 8, } - [System.Runtime.InteropServices.ComVisibleAttribute(true)] [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] - public partial struct SymbolToken + public readonly partial struct SymbolToken { - private int _dummyPrimitive; + private readonly int _dummyPrimitive; public SymbolToken(int val) { throw null; } public bool Equals(System.Diagnostics.SymbolStore.SymbolToken obj) { throw null; } public override bool Equals(object obj) { throw null; } @@ -7868,9 +7868,10 @@ namespace System.Diagnostics.Tracing public bool DisableEvent(int eventId) { throw null; } public bool EnableEvent(int eventId) { throw null; } } - public partial class EventCounter + public partial class EventCounter : System.IDisposable { public EventCounter(string name, System.Diagnostics.Tracing.EventSource eventSource) { } + public void Dispose() { } public void WriteMetric(float value) { } } [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Struct, Inherited=false)] @@ -7935,6 +7936,8 @@ namespace System.Diagnostics.Tracing public partial class EventListener : System.IDisposable { public EventListener() { } + public event System.EventHandler<System.Diagnostics.Tracing.EventSourceCreatedEventArgs> EventSourceCreated { add { } remove { } } + public event System.EventHandler<System.Diagnostics.Tracing.EventWrittenEventArgs> EventWritten { add { } remove { } } public void DisableEvents(System.Diagnostics.Tracing.EventSource eventSource) { } public virtual void Dispose() { } public void EnableEvents(System.Diagnostics.Tracing.EventSource eventSource, System.Diagnostics.Tracing.EventLevel level) { } @@ -8607,6 +8610,15 @@ namespace System.Globalization public string GetUnicode(string ascii, int index) { throw null; } public string GetUnicode(string ascii, int index, int count) { throw null; } } + public static partial class ISOWeek + { + public static int GetWeekOfYear(System.DateTime date) { throw null; } + public static int GetWeeksInYear(int year) { throw null; } + public static int GetYear(System.DateTime date) { throw null; } + public static System.DateTime GetYearEnd(int year) { throw null; } + public static System.DateTime GetYearStart(int year) { throw null; } + public static System.DateTime ToDateTime(int year, int week, System.DayOfWeek dayOfWeek) { throw null; } + } [System.Runtime.InteropServices.ComVisibleAttribute(true)] [System.SerializableAttribute] public partial class JapaneseCalendar : System.Globalization.Calendar @@ -13500,6 +13512,9 @@ namespace System.Runtime.CompilerServices { public ConditionalWeakTable() { } public void Add(TKey key, TValue value) { } + public void AddOrUpdate(TKey key, TValue value) { } + [System.Security.SecuritySafeCriticalAttribute] + public void Clear() { } ~ConditionalWeakTable() { } public TValue GetOrCreateValue(TKey key) { throw null; } public TValue GetValue(TKey key, System.Runtime.CompilerServices.ConditionalWeakTable<TKey, TValue>.CreateValueCallback createValueCallback) { throw null; } @@ -13838,6 +13853,7 @@ namespace System.Runtime.CompilerServices public static void ExecuteCodeWithGuaranteedCleanup(System.Runtime.CompilerServices.RuntimeHelpers.TryCode code, System.Runtime.CompilerServices.RuntimeHelpers.CleanupCode backoutCode, object userData) { } public static int GetHashCode(object o) { throw null; } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)]public static object GetObjectValue(object obj) { throw null; } + public static object GetUninitializedObject(System.Type type) { throw null; } public static void InitializeArray(System.Array array, System.RuntimeFieldHandle fldHandle) { } public static bool IsReferenceOrContainsReferences<T>() { throw null; } [System.MonoTODOAttribute("Currently a no-op")] diff --git a/profiles/monotouch/System.cs b/profiles/monotouch/System.cs index 6d12886..7cc86ea 100644 --- a/profiles/monotouch/System.cs +++ b/profiles/monotouch/System.cs @@ -8199,6 +8199,7 @@ namespace System.Net.Sockets public int Receive(System.Collections.Generic.IList<System.ArraySegment<byte>> buffers, System.Net.Sockets.SocketFlags socketFlags) { throw null; } [System.CLSCompliantAttribute(false)] public int Receive(System.Collections.Generic.IList<System.ArraySegment<byte>> buffers, System.Net.Sockets.SocketFlags socketFlags, out System.Net.Sockets.SocketError errorCode) { throw null; } + public int Receive(System.Span<byte> buffer) { throw null; } public int Receive(System.Span<byte> buffer, System.Net.Sockets.SocketFlags socketFlags) { throw null; } public bool ReceiveAsync(System.Net.Sockets.SocketAsyncEventArgs e) { throw null; } public int ReceiveFrom(byte[] buffer, int offset, int size, System.Net.Sockets.SocketFlags socketFlags, ref System.Net.EndPoint remoteEP) { throw null; } @@ -8220,6 +8221,7 @@ namespace System.Net.Sockets public int Send(System.Collections.Generic.IList<System.ArraySegment<byte>> buffers, System.Net.Sockets.SocketFlags socketFlags) { throw null; } [System.CLSCompliantAttribute(false)] public int Send(System.Collections.Generic.IList<System.ArraySegment<byte>> buffers, System.Net.Sockets.SocketFlags socketFlags, out System.Net.Sockets.SocketError errorCode) { throw null; } + public int Send(System.ReadOnlySpan<byte> buffer) { throw null; } public int Send(System.ReadOnlySpan<byte> buffer, System.Net.Sockets.SocketFlags socketFlags) { throw null; } public bool SendAsync(System.Net.Sockets.SocketAsyncEventArgs e) { throw null; } public void SendFile(string fileName) { } @@ -8250,6 +8252,7 @@ namespace System.Net.Sockets public int Count { get { throw null; } } public bool DisconnectReuseSocket { get { throw null; } set { } } public System.Net.Sockets.SocketAsyncOperation LastOperation { get { throw null; } } + public System.Memory<byte> MemoryBuffer { get { throw null; } } public int Offset { get { throw null; } } public System.Net.Sockets.IPPacketInformation ReceiveMessageFromPacketInfo { get { throw null; } } public System.Net.EndPoint RemoteEndPoint { get { throw null; } set { } } @@ -9048,6 +9051,9 @@ namespace System.Security.Authentication Md5 = 32771, None = 0, Sha1 = 32772, + Sha256 = 32780, + Sha384 = 32781, + Sha512 = 32782, } [System.SerializableAttribute] public partial class InvalidCredentialException : System.Security.Authentication.AuthenticationException @@ -9181,6 +9187,11 @@ namespace System.Security.Cryptography public bool MoveNext() { throw null; } public void Reset() { } } + public static partial class CryptographicOperations + { + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining, NoOptimization)]public static bool FixedTimeEquals(System.ReadOnlySpan<byte> left, System.ReadOnlySpan<byte> right) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining, NoOptimization)]public static void ZeroMemory(System.Span<byte> buffer) { } + } public sealed partial class Oid { public Oid() { } diff --git a/profiles/monotouch/mscorlib.cs b/profiles/monotouch/mscorlib.cs index f1f365c..00153e9 100644 --- a/profiles/monotouch/mscorlib.cs +++ b/profiles/monotouch/mscorlib.cs @@ -2828,6 +2828,7 @@ namespace System public static int CollectionCount(int generation) { throw null; } [System.Security.SecurityCriticalAttribute] public static void EndNoGCRegion() { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)]public static long GetAllocatedBytesForCurrentThread() { throw null; } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecuritySafeCriticalAttribute] public static int GetGeneration(object obj) { throw null; } [System.Security.SecuritySafeCriticalAttribute] @@ -7749,11 +7750,10 @@ namespace System.Diagnostics.SymbolStore NativeSectionOffset = 10, NativeStackRegister = 8, } - [System.Runtime.InteropServices.ComVisibleAttribute(true)] [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] - public partial struct SymbolToken + public readonly partial struct SymbolToken { - private int _dummyPrimitive; + private readonly int _dummyPrimitive; public SymbolToken(int val) { throw null; } public bool Equals(System.Diagnostics.SymbolStore.SymbolToken obj) { throw null; } public override bool Equals(object obj) { throw null; } @@ -7839,9 +7839,10 @@ namespace System.Diagnostics.Tracing public bool DisableEvent(int eventId) { throw null; } public bool EnableEvent(int eventId) { throw null; } } - public partial class EventCounter + public partial class EventCounter : System.IDisposable { public EventCounter(string name, System.Diagnostics.Tracing.EventSource eventSource) { } + public void Dispose() { } public void WriteMetric(float value) { } } [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Struct, Inherited=false)] @@ -7906,6 +7907,8 @@ namespace System.Diagnostics.Tracing public partial class EventListener : System.IDisposable { public EventListener() { } + public event System.EventHandler<System.Diagnostics.Tracing.EventSourceCreatedEventArgs> EventSourceCreated { add { } remove { } } + public event System.EventHandler<System.Diagnostics.Tracing.EventWrittenEventArgs> EventWritten { add { } remove { } } public void DisableEvents(System.Diagnostics.Tracing.EventSource eventSource) { } public virtual void Dispose() { } public void EnableEvents(System.Diagnostics.Tracing.EventSource eventSource, System.Diagnostics.Tracing.EventLevel level) { } @@ -8578,6 +8581,15 @@ namespace System.Globalization public string GetUnicode(string ascii, int index) { throw null; } public string GetUnicode(string ascii, int index, int count) { throw null; } } + public static partial class ISOWeek + { + public static int GetWeekOfYear(System.DateTime date) { throw null; } + public static int GetWeeksInYear(int year) { throw null; } + public static int GetYear(System.DateTime date) { throw null; } + public static System.DateTime GetYearEnd(int year) { throw null; } + public static System.DateTime GetYearStart(int year) { throw null; } + public static System.DateTime ToDateTime(int year, int week, System.DayOfWeek dayOfWeek) { throw null; } + } [System.Runtime.InteropServices.ComVisibleAttribute(true)] [System.SerializableAttribute] public partial class JapaneseCalendar : System.Globalization.Calendar @@ -12884,6 +12896,9 @@ namespace System.Runtime.CompilerServices { public ConditionalWeakTable() { } public void Add(TKey key, TValue value) { } + public void AddOrUpdate(TKey key, TValue value) { } + [System.Security.SecuritySafeCriticalAttribute] + public void Clear() { } ~ConditionalWeakTable() { } public TValue GetOrCreateValue(TKey key) { throw null; } public TValue GetValue(TKey key, System.Runtime.CompilerServices.ConditionalWeakTable<TKey, TValue>.CreateValueCallback createValueCallback) { throw null; } @@ -13222,6 +13237,7 @@ namespace System.Runtime.CompilerServices public static void ExecuteCodeWithGuaranteedCleanup(System.Runtime.CompilerServices.RuntimeHelpers.TryCode code, System.Runtime.CompilerServices.RuntimeHelpers.CleanupCode backoutCode, object userData) { } public static int GetHashCode(object o) { throw null; } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)]public static object GetObjectValue(object obj) { throw null; } + public static object GetUninitializedObject(System.Type type) { throw null; } public static void InitializeArray(System.Array array, System.RuntimeFieldHandle fldHandle) { } public static bool IsReferenceOrContainsReferences<T>() { throw null; } [System.MonoTODOAttribute("Currently a no-op")] diff --git a/profiles/net_4_x/System.Data.cs b/profiles/net_4_x/System.Data.cs index 375521c..cf67c50 100644 --- a/profiles/net_4_x/System.Data.cs +++ b/profiles/net_4_x/System.Data.cs @@ -2735,6 +2735,11 @@ namespace System.Data.Common public static System.Data.Common.DbProviderFactory GetFactory(System.Data.DataRow providerRow) { throw null; } public static System.Data.Common.DbProviderFactory GetFactory(string providerInvariantName) { throw null; } public static System.Data.DataTable GetFactoryClasses() { throw null; } + public static System.Collections.Generic.IEnumerable<string> GetProviderInvariantNames() { throw null; } + public static void RegisterFactory(string providerInvariantName, System.Data.Common.DbProviderFactory factory) { } + public static void RegisterFactory(string providerInvariantName, string factoryTypeAssemblyQualifiedName) { } + public static void RegisterFactory(string providerInvariantName, System.Type providerFactoryClass) { } + public static bool UnregisterFactory(string providerInvariantName) { throw null; } } public partial class DbProviderFactoriesConfigurationHandler : System.Configuration.IConfigurationSectionHandler { diff --git a/profiles/net_4_x/System.cs b/profiles/net_4_x/System.cs index eb64793..8770736 100644 --- a/profiles/net_4_x/System.cs +++ b/profiles/net_4_x/System.cs @@ -11333,6 +11333,7 @@ namespace System.Net.Sockets public int Receive(System.Collections.Generic.IList<System.ArraySegment<byte>> buffers, System.Net.Sockets.SocketFlags socketFlags) { throw null; } [System.CLSCompliantAttribute(false)] public int Receive(System.Collections.Generic.IList<System.ArraySegment<byte>> buffers, System.Net.Sockets.SocketFlags socketFlags, out System.Net.Sockets.SocketError errorCode) { throw null; } + public int Receive(System.Span<byte> buffer) { throw null; } public int Receive(System.Span<byte> buffer, System.Net.Sockets.SocketFlags socketFlags) { throw null; } public bool ReceiveAsync(System.Net.Sockets.SocketAsyncEventArgs e) { throw null; } public int ReceiveFrom(byte[] buffer, int offset, int size, System.Net.Sockets.SocketFlags socketFlags, ref System.Net.EndPoint remoteEP) { throw null; } @@ -11354,6 +11355,7 @@ namespace System.Net.Sockets public int Send(System.Collections.Generic.IList<System.ArraySegment<byte>> buffers, System.Net.Sockets.SocketFlags socketFlags) { throw null; } [System.CLSCompliantAttribute(false)] public int Send(System.Collections.Generic.IList<System.ArraySegment<byte>> buffers, System.Net.Sockets.SocketFlags socketFlags, out System.Net.Sockets.SocketError errorCode) { throw null; } + public int Send(System.ReadOnlySpan<byte> buffer) { throw null; } public int Send(System.ReadOnlySpan<byte> buffer, System.Net.Sockets.SocketFlags socketFlags) { throw null; } public bool SendAsync(System.Net.Sockets.SocketAsyncEventArgs e) { throw null; } public void SendFile(string fileName) { } @@ -11384,6 +11386,7 @@ namespace System.Net.Sockets public int Count { get { throw null; } } public bool DisconnectReuseSocket { get { throw null; } set { } } public System.Net.Sockets.SocketAsyncOperation LastOperation { get { throw null; } } + public System.Memory<byte> MemoryBuffer { get { throw null; } } public int Offset { get { throw null; } } public System.Net.Sockets.IPPacketInformation ReceiveMessageFromPacketInfo { get { throw null; } } public System.Net.EndPoint RemoteEndPoint { get { throw null; } set { } } @@ -12188,6 +12191,9 @@ namespace System.Security.Authentication Md5 = 32771, None = 0, Sha1 = 32772, + Sha256 = 32780, + Sha384 = 32781, + Sha512 = 32782, } [System.SerializableAttribute] public partial class InvalidCredentialException : System.Security.Authentication.AuthenticationException @@ -12359,6 +12365,11 @@ namespace System.Security.Cryptography public bool MoveNext() { throw null; } public void Reset() { } } + public static partial class CryptographicOperations + { + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining, NoOptimization)]public static bool FixedTimeEquals(System.ReadOnlySpan<byte> left, System.ReadOnlySpan<byte> right) { throw null; } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining, NoOptimization)]public static void ZeroMemory(System.Span<byte> buffer) { } + } public sealed partial class Oid { public Oid() { } diff --git a/profiles/net_4_x/mscorlib.cs b/profiles/net_4_x/mscorlib.cs index 9d4a45d..f4a99cb 100644 --- a/profiles/net_4_x/mscorlib.cs +++ b/profiles/net_4_x/mscorlib.cs @@ -2894,6 +2894,7 @@ namespace System public static int CollectionCount(int generation) { throw null; } [System.Security.SecurityCriticalAttribute] public static void EndNoGCRegion() { } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)]public static long GetAllocatedBytesForCurrentThread() { throw null; } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecuritySafeCriticalAttribute] public static int GetGeneration(object obj) { throw null; } [System.Security.SecuritySafeCriticalAttribute] @@ -7813,11 +7814,10 @@ namespace System.Diagnostics.SymbolStore NativeSectionOffset = 10, NativeStackRegister = 8, } - [System.Runtime.InteropServices.ComVisibleAttribute(true)] [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] - public partial struct SymbolToken + public readonly partial struct SymbolToken { - private int _dummyPrimitive; + private readonly int _dummyPrimitive; public SymbolToken(int val) { throw null; } public bool Equals(System.Diagnostics.SymbolStore.SymbolToken obj) { throw null; } public override bool Equals(object obj) { throw null; } @@ -7903,9 +7903,10 @@ namespace System.Diagnostics.Tracing public bool DisableEvent(int eventId) { throw null; } public bool EnableEvent(int eventId) { throw null; } } - public partial class EventCounter + public partial class EventCounter : System.IDisposable { public EventCounter(string name, System.Diagnostics.Tracing.EventSource eventSource) { } + public void Dispose() { } public void WriteMetric(float value) { } } [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Struct, Inherited=false)] @@ -7970,6 +7971,8 @@ namespace System.Diagnostics.Tracing public partial class EventListener : System.IDisposable { public EventListener() { } + public event System.EventHandler<System.Diagnostics.Tracing.EventSourceCreatedEventArgs> EventSourceCreated { add { } remove { } } + public event System.EventHandler<System.Diagnostics.Tracing.EventWrittenEventArgs> EventWritten { add { } remove { } } public void DisableEvents(System.Diagnostics.Tracing.EventSource eventSource) { } public virtual void Dispose() { } public void EnableEvents(System.Diagnostics.Tracing.EventSource eventSource, System.Diagnostics.Tracing.EventLevel level) { } @@ -8642,6 +8645,15 @@ namespace System.Globalization public string GetUnicode(string ascii, int index) { throw null; } public string GetUnicode(string ascii, int index, int count) { throw null; } } + public static partial class ISOWeek + { + public static int GetWeekOfYear(System.DateTime date) { throw null; } + public static int GetWeeksInYear(int year) { throw null; } + public static int GetYear(System.DateTime date) { throw null; } + public static System.DateTime GetYearEnd(int year) { throw null; } + public static System.DateTime GetYearStart(int year) { throw null; } + public static System.DateTime ToDateTime(int year, int week, System.DayOfWeek dayOfWeek) { throw null; } + } [System.Runtime.InteropServices.ComVisibleAttribute(true)] [System.SerializableAttribute] public partial class JapaneseCalendar : System.Globalization.Calendar @@ -13643,6 +13655,9 @@ namespace System.Runtime.CompilerServices { public ConditionalWeakTable() { } public void Add(TKey key, TValue value) { } + public void AddOrUpdate(TKey key, TValue value) { } + [System.Security.SecuritySafeCriticalAttribute] + public void Clear() { } ~ConditionalWeakTable() { } public TValue GetOrCreateValue(TKey key) { throw null; } public TValue GetValue(TKey key, System.Runtime.CompilerServices.ConditionalWeakTable<TKey, TValue>.CreateValueCallback createValueCallback) { throw null; } @@ -13981,6 +13996,7 @@ namespace System.Runtime.CompilerServices public static void ExecuteCodeWithGuaranteedCleanup(System.Runtime.CompilerServices.RuntimeHelpers.TryCode code, System.Runtime.CompilerServices.RuntimeHelpers.CleanupCode backoutCode, object userData) { } public static int GetHashCode(object o) { throw null; } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)]public static object GetObjectValue(object obj) { throw null; } + public static object GetUninitializedObject(System.Type type) { throw null; } public static void InitializeArray(System.Array array, System.RuntimeFieldHandle fldHandle) { } public static bool IsReferenceOrContainsReferences<T>() { throw null; } [System.MonoTODOAttribute("Currently a no-op")] |