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
OptionalInputDeviceTransportType.cs
Go to the documentation of this file.
1using System;
3using UnityEngine;
4
5namespace InControl
6{
7 // Token: 0x02000066 RID: 102
10 {
11 // Token: 0x06000495 RID: 1173 RVA: 0x0000F5E0 File Offset: 0x0000D7E0
17
18 // Token: 0x17000153 RID: 339
19 // (get) Token: 0x06000496 RID: 1174 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: 0x17000154 RID: 340
29 // (get) Token: 0x06000497 RID: 1175 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: 0x17000155 RID: 341
39 // (get) Token: 0x06000498 RID: 1176 RVA: 0x0000F5FC File Offset: 0x0000D7FC
40 // (set) Token: 0x06000499 RID: 1177 RVA: 0x0000F610 File Offset: 0x0000D810
42 {
43 get
44 {
45 return this.value;
46 }
47 set
48 {
50 this.hasValue = true;
51 }
52 }
53
54 // Token: 0x0600049A RID: 1178 RVA: 0x0000F62C File Offset: 0x0000D82C
55 public void Clear()
56 {
57 }
58
59 // Token: 0x0600049B RID: 1179 RVA: 0x0000F63C File Offset: 0x0000D83C
61 {
62 return this.value;
63 }
64
65 // Token: 0x0600049C RID: 1180 RVA: 0x0000F654 File Offset: 0x0000D854
67 {
68 return this.value;
69 }
70
71 // Token: 0x0600049D RID: 1181 RVA: 0x0000F66C File Offset: 0x0000D86C
73 {
75 this.hasValue = true;
76 }
77
78 // Token: 0x0600049E RID: 1182 RVA: 0x0000F688 File Offset: 0x0000D888
79 public override bool Equals(object other)
80 {
81 if (other == null)
82 {
83 }
85 bool flag;
86 return flag;
87 }
88
89 // Token: 0x0600049F RID: 1183 RVA: 0x0000F6A4 File Offset: 0x0000D8A4
91 {
92 /*
93An exception occurred when decompiling this method (0600049F)
94
95ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean InControl.OptionalInputDeviceTransportType::Equals(InControl.OptionalInputDeviceTransportType)
96
97 ---> System.Exception: Basic block has to end with unconditional control flow.
98{
99 Block_0:
100 stloc:InputDeviceTransportType(var_1_08, ldfld:InputDeviceTransportType(OptionalInputDeviceTransportType::value, ldloc:valuetype InControl.OptionalInputDeviceTransportType&(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: 0x060004A0 RID: 1184 RVA: 0x0000F6BC File Offset: 0x0000D8BC
115 {
116 /*
117An exception occurred when decompiling this method (060004A0)
118
119ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean InControl.OptionalInputDeviceTransportType::Equals(InControl.InputDeviceTransportType)
120
121 ---> System.Exception: Basic block has to end with unconditional control flow.
122{
123 Block_0:
124 stloc:InputDeviceTransportType(var_0_06, ldfld:InputDeviceTransportType(OptionalInputDeviceTransportType::value, ldloc:valuetype InControl.OptionalInputDeviceTransportType&(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: 0x060004A1 RID: 1185 RVA: 0x000025E1 File Offset: 0x000007E1
139 {
140 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
141 }
142
143 // Token: 0x060004A2 RID: 1186 RVA: 0x000025E1 File Offset: 0x000007E1
145 {
146 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
147 }
148
149 // Token: 0x060004A3 RID: 1187 RVA: 0x000025E1 File Offset: 0x000007E1
151 {
152 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
153 }
154
155 // Token: 0x060004A4 RID: 1188 RVA: 0x000025E1 File Offset: 0x000007E1
157 {
158 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
159 }
160
161 // Token: 0x060004A5 RID: 1189 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: 0x060004A6 RID: 1190 RVA: 0x0000F6D4 File Offset: 0x0000D8D4
168 public override int GetHashCode()
169 {
170 int num;
171 return num;
172 }
173
174 // Token: 0x060004A7 RID: 1191 RVA: 0x0000F6E4 File Offset: 0x0000D8E4
175 public override string ToString()
176 {
178 string text;
179 return text;
180 }
181
182 // Token: 0x060004A8 RID: 1192 RVA: 0x0000F700 File Offset: 0x0000D900
184 {
185 return 1;
186 }
187
188 // Token: 0x060004A9 RID: 1193 RVA: 0x0000F710 File Offset: 0x0000D910
194
195 // Token: 0x040003E6 RID: 998
197 private bool hasValue;
198
199 // Token: 0x040003E7 RID: 999
202 }
203}
class f__AnonymousType0<< Count > j__TPar
InputDeviceTransportType GetValueOrDefault(InputDeviceTransportType defaultValue)
static bool operator!=(OptionalInputDeviceTransportType a, OptionalInputDeviceTransportType b)
static bool operator==(OptionalInputDeviceTransportType a, OptionalInputDeviceTransportType b)
bool Equals(OptionalInputDeviceTransportType other)