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.
1using System;
7
9{
10 // Token: 0x020002CF RID: 719
11 [ComVisible(true)]
14 {
15 // Token: 0x06001845 RID: 6213 RVA: 0x00033E18 File Offset: 0x00032018
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
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
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}
class f__AnonymousType0<< Count > j__TPar
static string GetMessage(int hr)
static string GetResourceString(string key)
static CultureInfo CurrentCulture
CryptographicException(SerializationInfo info, StreamingContext context)