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
StrongNameKeyPair.cs
Go to the documentation of this file.
1using System;
4
5namespace System.Reflection
6{
7 // Token: 0x02000518 RID: 1304
8 [ComVisible(true)]
11 {
12 // Token: 0x06002667 RID: 9831 RVA: 0x00054060 File Offset: 0x00052260
14 {
15 if (!true)
16 {
17 }
18 Type type;
19 object value = info.GetValue("_publicKey", type);
20 if (value != null)
21 {
22 if (value != null)
23 {
25 if (value != null)
26 {
27 goto IL_002C;
28 }
29 }
30 throw new InvalidCastException();
31 }
32 IL_002C:
33 string @string = info.GetString("_keyPairContainer");
34 this._keyPairContainer = @string;
35 bool boolean = info.GetBoolean("_keyPairExported");
36 this._keyPairExported = "_keyPairContainer" != null;
37 Type type2;
38 object value2 = info.GetValue("_keyPairArray", type2);
39 if (value2 != null)
40 {
41 if (value2 == null)
42 {
43 throw new InvalidCastException();
44 }
46 if (value2 == null)
47 {
48 throw new InvalidCastException();
49 }
50 }
51 }
52
53 // Token: 0x06002668 RID: 9832 RVA: 0x000540F4 File Offset: 0x000522F4
55 {
56 byte[] publicKey = this._publicKey;
57 if (!true)
58 {
59 }
60 Type type;
61 info.AddValue("_publicKey", publicKey, type);
63 info.AddValue("_keyPairContainer", keyPairContainer);
65 info.AddValue("_keyPairExported", keyPairExported);
66 byte[] keyPairArray = this._keyPairArray;
67 Type type2;
68 info.AddValue("_keyPairArray", keyPairArray, type2);
69 }
70
71 // Token: 0x06002669 RID: 9833 RVA: 0x00054158 File Offset: 0x00052358
75
76 // Token: 0x04001512 RID: 5394
77 private byte[] _publicKey;
78
79 // Token: 0x04001513 RID: 5395
80 private string _keyPairContainer;
81
82 // Token: 0x04001514 RID: 5396
83 private bool _keyPairExported;
84
85 // Token: 0x04001515 RID: 5397
86 private byte[] _keyPairArray;
87 }
88}
class f__AnonymousType0<< Count > j__TPar
StrongNameKeyPair(SerializationInfo info, StreamingContext context)
void AddValue(string name, object value, Type type)
void GetObjectData(SerializationInfo info, StreamingContext context)