Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/api-snapshot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonojenkins <jo.shields+jenkins@xamarin.com>2019-02-05 15:00:00 +0300
committermonojenkins <jo.shields+jenkins@xamarin.com>2019-02-05 15:00:00 +0300
commit346bf46a961bbfd223b22236f5ad6ae80e027770 (patch)
tree635858831e0b9d0ed3bbe6269d2e5038b6d1ff55 /profiles/monotouch
parent594abfeec03af5b6f82fb960934b9c92ae9088cb (diff)
Apply changes from https://github.com/mono/mono/pull/12774 to API snapshot
Diffstat (limited to 'profiles/monotouch')
-rw-r--r--profiles/monotouch/mscorlib.cs8
1 files changed, 3 insertions, 5 deletions
diff --git a/profiles/monotouch/mscorlib.cs b/profiles/monotouch/mscorlib.cs
index 7a30342..066a2ea 100644
--- a/profiles/monotouch/mscorlib.cs
+++ b/profiles/monotouch/mscorlib.cs
@@ -23178,12 +23178,10 @@ namespace System.Threading
public AutoResetEvent(bool initialState) : base (default(bool), default(System.Threading.EventResetMode)) { }
}
[System.Diagnostics.DebuggerDisplayAttribute("IsCancellationRequested = {IsCancellationRequested}")]
- [System.Runtime.InteropServices.ComVisibleAttribute(false)]
- [System.Security.Permissions.HostProtectionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Synchronization=true, ExternalThreading=true)]
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
- public partial struct CancellationToken
+ public readonly partial struct CancellationToken
{
- private object _dummy;
+ private readonly object _dummy;
public CancellationToken(bool canceled) { throw null; }
public bool CanBeCanceled { get { throw null; } }
public bool IsCancellationRequested { get { throw null; } }
@@ -23198,6 +23196,7 @@ namespace System.Threading
public System.Threading.CancellationTokenRegistration Register(System.Action callback, bool useSynchronizationContext) { throw null; }
public System.Threading.CancellationTokenRegistration Register(System.Action<object> callback, object state) { throw null; }
public System.Threading.CancellationTokenRegistration Register(System.Action<object> callback, object state, bool useSynchronizationContext) { throw null; }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public System.Threading.CancellationTokenRegistration Register(System.Action<object> callback, object state, bool useSynchronizationContext, bool useExecutionContext) { throw null; }
public void ThrowIfCancellationRequested() { }
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
@@ -23213,7 +23212,6 @@ namespace System.Threading
public static bool operator !=(System.Threading.CancellationTokenRegistration left, System.Threading.CancellationTokenRegistration right) { throw null; }
public bool Unregister() { throw null; }
}
- [System.Runtime.InteropServices.ComVisibleAttribute(false)]
public partial class CancellationTokenSource : System.IDisposable
{
public CancellationTokenSource() { }