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
DBNull.cs
Go to the documentation of this file.
1using System;
4
5namespace System
6{
7 // Token: 0x0200009A RID: 154
9 public sealed class DBNull : ISerializable, IConvertible
10 {
11 // Token: 0x06000597 RID: 1431 RVA: 0x0000E44C File Offset: 0x0000C64C
12 private DBNull()
13 {
14 }
15
16 // Token: 0x06000598 RID: 1432 RVA: 0x0000E460 File Offset: 0x0000C660
18 {
19 /*
20An exception occurred when decompiling this method (06000598)
21
22ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void System.DBNull::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
23
24 ---> System.Exception: Basic block has to end with unconditional control flow.
25{
26 Block_0:
27 call:void(object::.ctor, ldloc:DBNull[exp:object](this))
28}
29
30 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
31 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
32 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
33 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
34 --- End of inner exception stack trace ---
35 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
36 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
37*/;
38 }
39
40 // Token: 0x06000599 RID: 1433 RVA: 0x0000E474 File Offset: 0x0000C674
42 {
43 }
44
45 // Token: 0x0600059A RID: 1434 RVA: 0x0000207A File Offset: 0x0000027A
46 public override string ToString()
47 {
48 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
49 }
50
51 // Token: 0x0600059B RID: 1435 RVA: 0x0000207A File Offset: 0x0000027A
52 public string ToString(IFormatProvider provider)
53 {
54 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
55 }
56
57 // Token: 0x0600059C RID: 1436 RVA: 0x0000E484 File Offset: 0x0000C684
59 {
60 return TypeCode.DBNull;
61 }
62
63 // Token: 0x0600059D RID: 1437 RVA: 0x0000207A File Offset: 0x0000027A
65 {
66 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
67 }
68
69 // Token: 0x0600059E RID: 1438 RVA: 0x0000207A File Offset: 0x0000027A
71 {
72 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
73 }
74
75 // Token: 0x0600059F RID: 1439 RVA: 0x0000207A File Offset: 0x0000027A
77 {
78 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
79 }
80
81 // Token: 0x060005A0 RID: 1440 RVA: 0x0000207A File Offset: 0x0000027A
83 {
84 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
85 }
86
87 // Token: 0x060005A1 RID: 1441 RVA: 0x0000207A File Offset: 0x0000027A
89 {
90 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
91 }
92
93 // Token: 0x060005A2 RID: 1442 RVA: 0x0000207A File Offset: 0x0000027A
95 {
96 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
97 }
98
99 // Token: 0x060005A3 RID: 1443 RVA: 0x0000207A File Offset: 0x0000027A
101 {
102 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
103 }
104
105 // Token: 0x060005A4 RID: 1444 RVA: 0x0000207A File Offset: 0x0000027A
107 {
108 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
109 }
110
111 // Token: 0x060005A5 RID: 1445 RVA: 0x0000207A File Offset: 0x0000027A
113 {
114 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
115 }
116
117 // Token: 0x060005A6 RID: 1446 RVA: 0x0000207A File Offset: 0x0000027A
119 {
120 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
121 }
122
123 // Token: 0x060005A7 RID: 1447 RVA: 0x0000207A File Offset: 0x0000027A
125 {
126 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
127 }
128
129 // Token: 0x060005A8 RID: 1448 RVA: 0x0000207A File Offset: 0x0000027A
131 {
132 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
133 }
134
135 // Token: 0x060005A9 RID: 1449 RVA: 0x0000207A File Offset: 0x0000027A
137 {
138 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
139 }
140
141 // Token: 0x060005AA RID: 1450 RVA: 0x0000207A File Offset: 0x0000027A
143 {
144 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
145 }
146
147 // Token: 0x060005AB RID: 1451 RVA: 0x0000E494 File Offset: 0x0000C694
149 {
150 if (!true)
151 {
152 }
153 return Convert.DefaultToType(this, type, provider);
154 }
155
156 // Token: 0x060005AC RID: 1452 RVA: 0x0000E4AC File Offset: 0x0000C6AC
157 // Note: this type is marked as 'beforefieldinit'.
158 static DBNull()
159 {
160 }
161
162 // Token: 0x04000223 RID: 547
163 public static readonly DBNull Value;
164 }
165}
class f__AnonymousType0<< Count > j__TPar
static object DefaultToType(IConvertible value, Type targetType, IFormatProvider provider)
Definition Convert.cs:119
static DBNull()
Definition DBNull.cs:158
string ToString(IFormatProvider provider)
Definition DBNull.cs:52
override string ToString()
Definition DBNull.cs:46
void GetObjectData(SerializationInfo info, StreamingContext context)
Definition DBNull.cs:41
static readonly DBNull Value
Definition DBNull.cs:163
TypeCode GetTypeCode()
Definition DBNull.cs:58
DBNull(SerializationInfo info, StreamingContext context)
Definition DBNull.cs:17
double ToDouble(IFormatProvider provider)
DateTime ToDateTime(IFormatProvider provider)
short ToInt16(IFormatProvider provider)
int ToInt32(IFormatProvider provider)
char ToChar(IFormatProvider provider)
float ToSingle(IFormatProvider provider)
ulong ToUInt64(IFormatProvider provider)
ushort ToUInt16(IFormatProvider provider)
decimal ToDecimal(IFormatProvider provider)
bool ToBoolean(IFormatProvider provider)
object ToType(Type conversionType, IFormatProvider provider)
sbyte ToSByte(IFormatProvider provider)
uint ToUInt32(IFormatProvider provider)
byte ToByte(IFormatProvider provider)
long ToInt64(IFormatProvider provider)
TypeCode
Definition TypeCode.cs:7