forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSystem.Private.CoreLib.ExtraApis.cs
More file actions
53 lines (49 loc) · 2.02 KB
/
Copy pathSystem.Private.CoreLib.ExtraApis.cs
File metadata and controls
53 lines (49 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// NOTE: Types/members which are not publicly exposed in System.Runtime.dll but still used internally by libraries.
// Manually maintained, keep in sync with System.Private.CoreLib.ExtraApis.txt
namespace System.Runtime.Serialization
{
public readonly partial struct DeserializationToken : System.IDisposable
{
private readonly object _dummy;
private readonly int _dummyPrimitive;
internal DeserializationToken(object tracker) { }
public void Dispose() { }
}
public sealed partial class SerializationInfo
{
public static System.Runtime.Serialization.DeserializationToken StartDeserialization() { throw null; }
}
}
namespace System.Diagnostics
{
public partial class DebugProvider
{
public DebugProvider() { }
[System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute]
public virtual void Fail(string? message, string? detailMessage) { throw null; }
public static void FailCore(string stackTrace, string? message, string? detailMessage, string errorSource) { }
public virtual void OnIndentLevelChanged(int indentLevel) { }
public virtual void OnIndentSizeChanged(int indentSize) { }
public virtual void Write(string? message) { }
public static void WriteCore(string message) { }
public virtual void WriteLine(string? message) { }
}
public static partial class Debug
{
public static System.Diagnostics.DebugProvider SetProvider(System.Diagnostics.DebugProvider provider) { throw null; }
}
}
#if FEATURE_WASM_MANAGED_THREADS
namespace System.Threading
{
public partial class Thread
{
[ThreadStatic]
public static bool ThrowOnBlockingWaitOnJSInteropThread;
public static void AssureBlockingPossible() { throw null; }
public static void ForceBlockingWait(Action<object?> action, object? state) { throw null; }
}
}
#endif