terraria-cpp2il-methodrecon
v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
ArgumentOutOfRangeException.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.Serialization
;
3
4
namespace
System
5
{
6
// Token: 0x02000085 RID: 133
7
[
Serializable
]
8
public
class
ArgumentOutOfRangeException
:
ArgumentException
9
{
10
// Token: 0x060003D2 RID: 978 RVA: 0x0000C00C File Offset: 0x0000A20C
11
public
ArgumentOutOfRangeException
()
12
:
base
(
"Specified argument was out of the range of valid values."
)
13
{
14
this._HResult
= 5378;
15
}
16
17
// Token: 0x060003D3 RID: 979 RVA: 0x0000C030 File Offset: 0x0000A230
18
public
ArgumentOutOfRangeException
(
string
paramName
)
19
:
base
(
"Specified argument was out of the range of valid values."
)
20
{
21
this._paramName
=
paramName
;
22
this._HResult
= 5378;
23
}
24
25
// Token: 0x060003D4 RID: 980 RVA: 0x0000C05C File Offset: 0x0000A25C
26
public
ArgumentOutOfRangeException
(
string
paramName
,
string
message)
27
:
base
(message)
28
{
29
this._paramName
=
paramName
;
30
this._HResult
= 5378;
31
}
32
33
// Token: 0x060003D5 RID: 981 RVA: 0x0000C084 File Offset: 0x0000A284
34
public
ArgumentOutOfRangeException
(
string
paramName
,
object
actualValue
,
string
message)
35
:
base
(message)
36
{
37
this._paramName
=
paramName
;
38
this._actualValue
=
actualValue
;
39
this._HResult
= 5378;
40
}
41
42
// Token: 0x060003D6 RID: 982 RVA: 0x0000C0B4 File Offset: 0x0000A2B4
43
protected
ArgumentOutOfRangeException
(
SerializationInfo
info
,
StreamingContext
context)
44
:
base
(
info
, context)
45
{
46
if
(!
true
)
47
{
48
}
49
Type
type;
50
object
value
=
info
.GetValue(
"ActualValue"
, type);
51
this._actualValue
=
value
;
52
}
53
54
// Token: 0x060003D7 RID: 983 RVA: 0x0000C0E0 File Offset: 0x0000A2E0
55
public
override
void
GetObjectData
(
SerializationInfo
info
,
StreamingContext
context)
56
{
57
base
.GetObjectData(
info
, context);
58
object
actualValue
= this.
_actualValue
;
59
if
(!
true
)
60
{
61
}
62
Type
type;
63
info
.AddValue(
"ActualValue"
,
actualValue
, type);
64
}
65
66
// Token: 0x17000059 RID: 89
67
// (get) Token: 0x060003D8 RID: 984 RVA: 0x0000C10C File Offset: 0x0000A30C
68
public
override
string
Message
69
{
70
get
71
{
72
string
message =
base
.Message;
73
object
actualValue
= this.
_actualValue
;
74
string
text
;
75
if
(actualValue !=
null
)
76
{
77
text
=
SR
.
Format
(
"Actual value was {0}."
,
actualValue
);
78
if
(message !=
null
)
79
{
80
string
newLine =
Environment
.
NewLine
;
81
return
message + newLine +
text
;
82
}
83
}
84
return
text
;
85
}
86
}
87
88
// Token: 0x040001DC RID: 476
89
private
object
_actualValue
;
90
}
91
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
SR.Format
static string Format(string resourceFormat, params object[] args)
Definition
SR.cs:33
SR
Definition
SR.cs:7
System.ArgumentException
Definition
ArgumentException.cs:9
System.ArgumentOutOfRangeException.GetObjectData
override void GetObjectData(SerializationInfo info, StreamingContext context)
Definition
ArgumentOutOfRangeException.cs:55
System.ArgumentOutOfRangeException._actualValue
object _actualValue
Definition
ArgumentOutOfRangeException.cs:89
System.ArgumentOutOfRangeException.Message
override string Message
Definition
ArgumentOutOfRangeException.cs:69
System.ArgumentOutOfRangeException.ArgumentOutOfRangeException
ArgumentOutOfRangeException(SerializationInfo info, StreamingContext context)
Definition
ArgumentOutOfRangeException.cs:43
System.ArgumentOutOfRangeException.ArgumentOutOfRangeException
ArgumentOutOfRangeException(string paramName)
Definition
ArgumentOutOfRangeException.cs:18
System.ArgumentOutOfRangeException.ArgumentOutOfRangeException
ArgumentOutOfRangeException(string paramName, object actualValue, string message)
Definition
ArgumentOutOfRangeException.cs:34
System.ArgumentOutOfRangeException.ArgumentOutOfRangeException
ArgumentOutOfRangeException()
Definition
ArgumentOutOfRangeException.cs:11
System.ArgumentOutOfRangeException.ArgumentOutOfRangeException
ArgumentOutOfRangeException(string paramName, string message)
Definition
ArgumentOutOfRangeException.cs:26
System.ArgumentOutOfRangeException
Definition
ArgumentOutOfRangeException.cs:9
System.Environment.NewLine
static string NewLine
Definition
Environment.cs:90
System.Environment
Definition
Environment.cs:17
System.Runtime.Serialization.SerializationInfo
Definition
SerializationInfo.cs:10
System.Type
Definition
Type.cs:12
System.Reflection.TypeAttributes.Serializable
@ Serializable
System.Runtime.Serialization
Definition
DeserializationEventHandler.cs:4
System.ExceptionArgument.text
@ text
System.ExceptionArgument.value
@ value
System.ExceptionArgument.info
@ info
System
Definition
__ComObject.cs:4
System.Runtime.Serialization.StreamingContext
Definition
StreamingContext.cs:10
source
mscorlib
System
ArgumentOutOfRangeException.cs
Generated by
1.10.0