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
CryptographicException.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Globalization
;
3
using
System.Runtime.InteropServices
;
4
using
System.Runtime.Serialization
;
5
using
Cpp2IlInjected
;
6
using
Microsoft.Win32
;
7
8
namespace
System.Security.Cryptography
9
{
10
// Token: 0x020002CF RID: 719
11
[
ComVisible
(
true
)]
12
[
Serializable
]
13
public
class
CryptographicException
:
SystemException
14
{
15
// Token: 0x06001845 RID: 6213 RVA: 0x00033E18 File Offset: 0x00032018
16
public
CryptographicException
()
17
{
18
string
resourceString
=
Environment
.
GetResourceString
(
"Error occurred during a cryptographic operation."
);
19
base
..ctor(
resourceString
);
20
base
.SetErrorCode(5168);
21
}
22
23
// Token: 0x06001846 RID: 6214 RVA: 0x00033E44 File Offset: 0x00032044
24
public
CryptographicException
(
string
message)
25
:
base
(message)
26
{
27
base
.SetErrorCode(5168);
28
}
29
30
// Token: 0x06001847 RID: 6215 RVA: 0x00033E64 File Offset: 0x00032064
31
public
CryptographicException
(
string
format
,
string
insert
)
32
{
33
if
(!
true
)
34
{
35
}
36
string
text
=
string
.Format(
CultureInfo
.
CurrentCulture
,
format
,
insert
);
37
base
..ctor(
text
);
38
base
.SetErrorCode(5168);
39
}
40
41
// Token: 0x06001848 RID: 6216 RVA: 0x00033E98 File Offset: 0x00032098
42
public
CryptographicException
(
string
message,
Exception
inner
)
43
:
base
(message,
inner
)
44
{
45
base
.SetErrorCode(5168);
46
}
47
48
// Token: 0x06001849 RID: 6217 RVA: 0x00033EB8 File Offset: 0x000320B8
49
public
CryptographicException
(
int
hr
)
50
{
51
string
message =
Win32Native
.
GetMessage
(
hr
);
52
base
..ctor(message);
53
base
.SetErrorCode(5168);
54
base
.SetErrorCode(5168);
55
}
56
57
// Token: 0x0600184A RID: 6218 RVA: 0x00033EEC File Offset: 0x000320EC
58
protected
CryptographicException
(
SerializationInfo
info
,
StreamingContext
context)
59
:
base
(
info
, context)
60
{
61
}
62
63
// Token: 0x0600184B RID: 6219 RVA: 0x0000207A File Offset: 0x0000027A
64
private
static
void
ThrowCryptographicException
(
int
hr
)
65
{
66
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
67
}
68
69
// Token: 0x04000C8E RID: 3214
70
private
const
int
FORMAT_MESSAGE_IGNORE_INSERTS
= 512;
71
72
// Token: 0x04000C8F RID: 3215
73
private
const
int
FORMAT_MESSAGE_FROM_SYSTEM
= 4096;
74
75
// Token: 0x04000C90 RID: 3216
76
private
const
int
FORMAT_MESSAGE_ARGUMENT_ARRAY
= 8192;
77
}
78
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
Microsoft.Win32.Win32Native.GetMessage
static string GetMessage(int hr)
Definition
Win32Native.cs:10
Microsoft.Win32.Win32Native
Definition
Win32Native.cs:8
System.Environment.GetResourceString
static string GetResourceString(string key)
Definition
Environment.cs:19
System.Environment
Definition
Environment.cs:17
System.Exception
Definition
Exception.cs:15
System.Globalization.CultureInfo.CurrentCulture
static CultureInfo CurrentCulture
Definition
CultureInfo.cs:52
System.Globalization.CultureInfo
Definition
CultureInfo.cs:15
System.Runtime.Serialization.SerializationInfo
Definition
SerializationInfo.cs:10
System.Security.Cryptography.CryptographicException.ThrowCryptographicException
static void ThrowCryptographicException(int hr)
Definition
CryptographicException.cs:64
System.Security.Cryptography.CryptographicException.CryptographicException
CryptographicException(int hr)
Definition
CryptographicException.cs:49
System.Security.Cryptography.CryptographicException.CryptographicException
CryptographicException(SerializationInfo info, StreamingContext context)
Definition
CryptographicException.cs:58
System.Security.Cryptography.CryptographicException.FORMAT_MESSAGE_ARGUMENT_ARRAY
const int FORMAT_MESSAGE_ARGUMENT_ARRAY
Definition
CryptographicException.cs:76
System.Security.Cryptography.CryptographicException.CryptographicException
CryptographicException()
Definition
CryptographicException.cs:16
System.Security.Cryptography.CryptographicException.CryptographicException
CryptographicException(string format, string insert)
Definition
CryptographicException.cs:31
System.Security.Cryptography.CryptographicException.FORMAT_MESSAGE_FROM_SYSTEM
const int FORMAT_MESSAGE_FROM_SYSTEM
Definition
CryptographicException.cs:73
System.Security.Cryptography.CryptographicException.CryptographicException
CryptographicException(string message)
Definition
CryptographicException.cs:24
System.Security.Cryptography.CryptographicException.CryptographicException
CryptographicException(string message, Exception inner)
Definition
CryptographicException.cs:42
System.Security.Cryptography.CryptographicException.FORMAT_MESSAGE_IGNORE_INSERTS
const int FORMAT_MESSAGE_IGNORE_INSERTS
Definition
CryptographicException.cs:70
System.Security.Cryptography.CryptographicException
Definition
CryptographicException.cs:14
System.SystemException
Definition
SystemException.cs:9
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
Microsoft.Win32
Definition
CriticalHandleMinusOneIsInvalid.cs:6
System.Globalization
Definition
Bootstring.cs:5
System.Reflection.TypeAttributes.Serializable
@ Serializable
System.Runtime.InteropServices
Definition
_Activator.cs:4
System.Runtime.Serialization
Definition
DeserializationEventHandler.cs:4
System.Security.Cryptography
Definition
Aes.cs:5
System.ExceptionArgument.text
@ text
System.ExceptionArgument.format
@ format
System.ExceptionArgument.info
@ info
System
Definition
__ComObject.cs:4
System.Runtime.Serialization.StreamingContext
Definition
StreamingContext.cs:10
source
mscorlib
System
Security
Cryptography
CryptographicException.cs
Generated by
1.10.0