Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
RuntimeWrappedException.cs
Go to the documentation of this file.
1
using
System.Runtime.Serialization
;
2
3
namespace
System.Runtime.CompilerServices
;
4
5
[
Serializable
]
6
[
TypeForwardedFrom
(
"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
)]
7
public
sealed
class
RuntimeWrappedException
:
Exception
8
{
9
private
object
_wrappedException
;
10
11
public
object
WrappedException
=>
_wrappedException
;
12
13
public
RuntimeWrappedException
(
object
thrownObject
)
14
:
base
(
SR
.
RuntimeWrappedException
)
15
{
16
base.HResult
= -2146233026;
17
_wrappedException
=
thrownObject
;
18
}
19
20
private
RuntimeWrappedException
(
SerializationInfo
info
,
StreamingContext
context)
21
:
base
(
info
, context)
22
{
23
_wrappedException
=
info
.GetValue(
"WrappedException"
,
typeof
(
object
));
24
}
25
26
public
override
void
GetObjectData
(
SerializationInfo
info
,
StreamingContext
context)
27
{
28
base
.GetObjectData(
info
, context);
29
info
.AddValue(
"WrappedException"
,
_wrappedException
,
typeof
(
object
));
30
}
31
}
System.Exception
Definition
Exception.cs:15
System.Runtime.CompilerServices.RuntimeWrappedException.WrappedException
object WrappedException
Definition
RuntimeWrappedException.cs:11
System.Runtime.CompilerServices.RuntimeWrappedException._wrappedException
object _wrappedException
Definition
RuntimeWrappedException.cs:9
System.Runtime.CompilerServices.RuntimeWrappedException.RuntimeWrappedException
RuntimeWrappedException(SerializationInfo info, StreamingContext context)
Definition
RuntimeWrappedException.cs:20
System.Runtime.CompilerServices.RuntimeWrappedException.RuntimeWrappedException
RuntimeWrappedException(object thrownObject)
Definition
RuntimeWrappedException.cs:13
System.Runtime.CompilerServices.RuntimeWrappedException.GetObjectData
override void GetObjectData(SerializationInfo info, StreamingContext context)
Definition
RuntimeWrappedException.cs:26
System.Runtime.CompilerServices.RuntimeWrappedException
Definition
RuntimeWrappedException.cs:8
System.Runtime.Serialization.SerializationInfo
Definition
SerializationInfo.cs:7
System.SR
Definition
SR.cs:7
System.Data.IsolationLevel.Serializable
@ Serializable
System.Runtime.CompilerServices
Definition
NullablePublicOnlyAttribute.cs:3
System.Runtime.Serialization.CollectionKind.Dictionary
@ Dictionary
System.Runtime.Serialization
Definition
SerializationGuard.cs:3
System.ExceptionArgument.info
@ info
System.Runtime.Serialization.StreamingContext
Definition
StreamingContext.cs:6
source
System.Private.CoreLib
System.Runtime.CompilerServices
RuntimeWrappedException.cs
Generated by
1.10.0