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
MissingMemberException.cs
Go to the documentation of this file.
1using System;
4
5namespace System
6{
7 // Token: 0x02000132 RID: 306
10 {
11 // Token: 0x06000BDE RID: 3038 RVA: 0x0001A6D8 File Offset: 0x000188D8
13 : base("Attempted to access a missing member.")
14 {
15 this._HResult = 5394;
16 }
17
18 // Token: 0x06000BDF RID: 3039 RVA: 0x0001A6FC File Offset: 0x000188FC
19 public MissingMemberException(string message)
20 : base(message)
21 {
22 this._HResult = 5394;
23 }
24
25 // Token: 0x06000BE0 RID: 3040 RVA: 0x0001A71C File Offset: 0x0001891C
27 {
28 string @string = info.GetString("MMClassName");
29 this.ClassName = @string;
30 string string2 = info.GetString("MMMemberName");
32 if (!true)
33 {
34 }
35 Type type;
36 object value = info.GetValue("MMSignature", type);
37 if (value != null)
38 {
39 if (value == null)
40 {
41 throw new InvalidCastException();
42 }
44 if (value == null)
45 {
46 throw new InvalidCastException();
47 }
48 }
49 }
50
51 // Token: 0x06000BE1 RID: 3041 RVA: 0x0001A77C File Offset: 0x0001897C
53 {
54 base.GetObjectData(info, context);
55 string className = this.ClassName;
56 if (!true)
57 {
58 }
59 Type type;
60 info.AddValue("MMClassName", className, type);
61 string memberName = this.MemberName;
62 Type type2;
63 info.AddValue("MMMemberName", memberName, type2);
64 byte[] signature = this.Signature;
65 Type type3;
66 info.AddValue("MMSignature", signature, type3);
67 }
68
69 // Token: 0x17000107 RID: 263
70 // (get) Token: 0x06000BE2 RID: 3042 RVA: 0x0001A7D4 File Offset: 0x000189D4
71 public override string Message
72 {
73 get
74 {
75 if (this.ClassName == null)
76 {
77 string text;
78 return text;
79 }
80 string memberName = this.MemberName;
81 if (this.Signature != null)
82 {
83 string text2;
84 return text2;
85 }
86 string text3;
87 return SR.Format("Member '{0}' not found.", text3);
88 }
89 }
90
91 // Token: 0x06000BE3 RID: 3043 RVA: 0x0000207A File Offset: 0x0000027A
92 internal static string FormatSignature(byte[] signature)
93 {
94 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
95 }
96
97 // Token: 0x040004CE RID: 1230
98 protected string ClassName;
99
100 // Token: 0x040004CF RID: 1231
101 protected string MemberName;
102
103 // Token: 0x040004D0 RID: 1232
104 protected byte[] Signature;
105 }
106}
class f__AnonymousType0<< Count > j__TPar
static string Format(string resourceFormat, params object[] args)
Definition SR.cs:33
Definition SR.cs:7
override void GetObjectData(SerializationInfo info, StreamingContext context)
static string FormatSignature(byte[] signature)
MissingMemberException(SerializationInfo info, StreamingContext context)