Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
CompressedStack.cs
Go to the documentation of this file.
1
using
System.Runtime.Serialization
;
2
3
namespace
System.Threading
;
4
5
public
sealed
class
CompressedStack
:
ISerializable
6
{
7
private
CompressedStack
()
8
{
9
}
10
11
public
void
GetObjectData
(
SerializationInfo
info
,
StreamingContext
context)
12
{
13
throw
new
PlatformNotSupportedException
();
14
}
15
16
public
static
CompressedStack
Capture
()
17
{
18
return
GetCompressedStack
();
19
}
20
21
public
CompressedStack
CreateCopy
()
22
{
23
return
this
;
24
}
25
26
public
static
CompressedStack
GetCompressedStack
()
27
{
28
return
new
CompressedStack
();
29
}
30
31
public
static
void
Run
(
CompressedStack
compressedStack
,
ContextCallback
callback,
object
?
state
)
32
{
33
if
(
compressedStack
==
null
)
34
{
35
throw
new
ArgumentNullException
(
"compressedStack"
);
36
}
37
callback(
state
);
38
}
39
}
System.ArgumentNullException
Definition
ArgumentNullException.cs:10
System.PlatformNotSupportedException
Definition
PlatformNotSupportedException.cs:9
System.Runtime.Serialization.SerializationInfo
Definition
SerializationInfo.cs:7
System.Threading.CompressedStack.CreateCopy
CompressedStack CreateCopy()
Definition
CompressedStack.cs:21
System.Threading.CompressedStack.Capture
static CompressedStack Capture()
Definition
CompressedStack.cs:16
System.Threading.CompressedStack.CompressedStack
CompressedStack()
Definition
CompressedStack.cs:7
System.Threading.CompressedStack.Run
static void Run(CompressedStack compressedStack, ContextCallback callback, object? state)
Definition
CompressedStack.cs:31
System.Threading.CompressedStack.GetCompressedStack
static CompressedStack GetCompressedStack()
Definition
CompressedStack.cs:26
System.Threading.CompressedStack.GetObjectData
void GetObjectData(SerializationInfo info, StreamingContext context)
Definition
CompressedStack.cs:11
System.Threading.CompressedStack
Definition
CompressedStack.cs:6
System.Runtime.Serialization.ISerializable
Definition
ISerializable.cs:4
System.Runtime.Serialization.CollectionKind.Dictionary
@ Dictionary
System.Runtime.Serialization
Definition
SerializationGuard.cs:3
System.Threading.ContextCallback
delegate void ContextCallback(object? state)
System.Threading
Definition
TaskToApm.cs:3
System.ExceptionArgument.state
@ state
System.ExceptionArgument.info
@ info
System.Runtime.Serialization.StreamingContext
Definition
StreamingContext.cs:6
source
System.Private.CoreLib
System.Threading
CompressedStack.cs
Generated by
1.10.0