Api diff between 2.0 and 2.1
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
# System.Runtime.CompilerServices
|
||||
|
||||
``` diff
|
||||
namespace System.Runtime.CompilerServices {
|
||||
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
|
||||
+ public struct AsyncValueTaskMethodBuilder {
|
||||
+ public ValueTask Task { get; }
|
||||
+ public void AwaitOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : INotifyCompletion where TStateMachine : IAsyncStateMachine;
|
||||
+ public void AwaitUnsafeOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : ICriticalNotifyCompletion where TStateMachine : IAsyncStateMachine;
|
||||
+ public static AsyncValueTaskMethodBuilder Create();
|
||||
+ public void SetException(Exception exception);
|
||||
+ public void SetResult();
|
||||
+ public void SetStateMachine(IAsyncStateMachine stateMachine);
|
||||
+ public void Start<TStateMachine>(ref TStateMachine stateMachine) where TStateMachine : IAsyncStateMachine;
|
||||
+ }
|
||||
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
|
||||
+ public struct ConfiguredValueTaskAwaitable {
|
||||
+ public ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter GetAwaiter();
|
||||
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
|
||||
+ public struct ConfiguredValueTaskAwaiter : ICriticalNotifyCompletion, INotifyCompletion {
|
||||
+ public bool IsCompleted { get; }
|
||||
+ public void GetResult();
|
||||
+ public void OnCompleted(Action continuation);
|
||||
+ public void UnsafeOnCompleted(Action continuation);
|
||||
+ }
|
||||
+ }
|
||||
public static class RuntimeFeature {
|
||||
+ public const string PortablePdb = "PortablePdb";
|
||||
}
|
||||
public sealed class RuntimeWrappedException : Exception {
|
||||
+ public RuntimeWrappedException(object thrownObject);
|
||||
}
|
||||
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
|
||||
+ public struct ValueTaskAwaiter : ICriticalNotifyCompletion, INotifyCompletion {
|
||||
+ public bool IsCompleted { get; }
|
||||
+ public void GetResult();
|
||||
+ public void OnCompleted(Action continuation);
|
||||
+ public void UnsafeOnCompleted(Action continuation);
|
||||
+ }
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user