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
OptionalInputDeviceDriverType.cs
Go to the documentation of this file.
1using System;
3using UnityEngine;
4
5namespace InControl
6{
7 // Token: 0x02000065 RID: 101
10 {
11 // Token: 0x06000480 RID: 1152 RVA: 0x0000F4A0 File Offset: 0x0000D6A0
17
18 // Token: 0x17000150 RID: 336
19 // (get) Token: 0x06000481 RID: 1153 RVA: 0x000025E1 File Offset: 0x000007E1
20 public bool HasValue
21 {
22 get
23 {
24 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
25 }
26 }
27
28 // Token: 0x17000151 RID: 337
29 // (get) Token: 0x06000482 RID: 1154 RVA: 0x000025E1 File Offset: 0x000007E1
30 public bool HasNoValue
31 {
32 get
33 {
34 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
35 }
36 }
37
38 // Token: 0x17000152 RID: 338
39 // (get) Token: 0x06000483 RID: 1155 RVA: 0x0000F4BC File Offset: 0x0000D6BC
40 // (set) Token: 0x06000484 RID: 1156 RVA: 0x0000F4D0 File Offset: 0x0000D6D0
42 {
43 get
44 {
45 return this.value;
46 }
47 set
48 {
50 this.hasValue = true;
51 }
52 }
53
54 // Token: 0x06000485 RID: 1157 RVA: 0x0000F4EC File Offset: 0x0000D6EC
55 public void Clear()
56 {
57 }
58
59 // Token: 0x06000486 RID: 1158 RVA: 0x0000F4FC File Offset: 0x0000D6FC
61 {
62 return this.value;
63 }
64
65 // Token: 0x06000487 RID: 1159 RVA: 0x0000F514 File Offset: 0x0000D714
67 {
68 return this.value;
69 }
70
71 // Token: 0x06000488 RID: 1160 RVA: 0x0000F52C File Offset: 0x0000D72C
73 {
75 this.hasValue = true;
76 }
77
78 // Token: 0x06000489 RID: 1161 RVA: 0x0000F548 File Offset: 0x0000D748
79 public override bool Equals(object other)
80 {
81 if (other == null)
82 {
83 }
85 bool flag;
86 return flag;
87 }
88
89 // Token: 0x0600048A RID: 1162 RVA: 0x0000F564 File Offset: 0x0000D764
91 {
92 /*
93An exception occurred when decompiling this method (0600048A)
94
95ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean InControl.OptionalInputDeviceDriverType::Equals(InControl.OptionalInputDeviceDriverType)
96
97 ---> System.Exception: Basic block has to end with unconditional control flow.
98{
99 Block_0:
100 stloc:InputDeviceDriverType(var_1_08, ldfld:InputDeviceDriverType(OptionalInputDeviceDriverType::value, ldloc:valuetype InControl.OptionalInputDeviceDriverType&(this)))
101}
102
103 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
104 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
105 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
106 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
107 --- End of inner exception stack trace ---
108 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
109 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
110*/;
111 }
112
113 // Token: 0x0600048B RID: 1163 RVA: 0x0000F57C File Offset: 0x0000D77C
115 {
116 /*
117An exception occurred when decompiling this method (0600048B)
118
119ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean InControl.OptionalInputDeviceDriverType::Equals(InControl.InputDeviceDriverType)
120
121 ---> System.Exception: Basic block has to end with unconditional control flow.
122{
123 Block_0:
124 stloc:InputDeviceDriverType(var_0_06, ldfld:InputDeviceDriverType(OptionalInputDeviceDriverType::value, ldloc:valuetype InControl.OptionalInputDeviceDriverType&(this)))
125}
126
127 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
128 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
129 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
130 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
131 --- End of inner exception stack trace ---
132 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
133 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
134*/;
135 }
136
137 // Token: 0x0600048C RID: 1164 RVA: 0x000025E1 File Offset: 0x000007E1
139 {
140 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
141 }
142
143 // Token: 0x0600048D RID: 1165 RVA: 0x000025E1 File Offset: 0x000007E1
145 {
146 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
147 }
148
149 // Token: 0x0600048E RID: 1166 RVA: 0x000025E1 File Offset: 0x000007E1
151 {
152 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
153 }
154
155 // Token: 0x0600048F RID: 1167 RVA: 0x000025E1 File Offset: 0x000007E1
157 {
158 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
159 }
160
161 // Token: 0x06000490 RID: 1168 RVA: 0x000025E1 File Offset: 0x000007E1
162 private static int CombineHashCodes(int h1, int h2)
163 {
164 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
165 }
166
167 // Token: 0x06000491 RID: 1169 RVA: 0x0000F594 File Offset: 0x0000D794
168 public override int GetHashCode()
169 {
170 int num;
171 return num;
172 }
173
174 // Token: 0x06000492 RID: 1170 RVA: 0x0000F5A4 File Offset: 0x0000D7A4
175 public override string ToString()
176 {
178 string text;
179 return text;
180 }
181
182 // Token: 0x06000493 RID: 1171 RVA: 0x0000F5C0 File Offset: 0x0000D7C0
184 {
185 return 1;
186 }
187
188 // Token: 0x06000494 RID: 1172 RVA: 0x0000F5D0 File Offset: 0x0000D7D0
194
195 // Token: 0x040003E4 RID: 996
197 private bool hasValue;
198
199 // Token: 0x040003E5 RID: 997
202 }
203}
class f__AnonymousType0<< Count > j__TPar
static bool operator==(OptionalInputDeviceDriverType a, OptionalInputDeviceDriverType b)
static bool operator!=(OptionalInputDeviceDriverType a, OptionalInputDeviceDriverType b)
InputDeviceDriverType GetValueOrDefault(InputDeviceDriverType defaultValue)
bool Equals(OptionalInputDeviceDriverType other)