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
JEnumerable.cs
Go to the documentation of this file.
1using System;
6
8{
9 // Token: 0x020000CE RID: 206
10 [Preserve]
12 {
13 // Token: 0x060007A6 RID: 1958 RVA: 0x00013634 File Offset: 0x00011834
14 public JEnumerable(IEnumerable<T> enumerable)
15 {
16 this._enumerable = enumerable;
17 }
18
19 // Token: 0x060007A7 RID: 1959 RVA: 0x00013648 File Offset: 0x00011848
21 {
22 IEnumerator enumerator;
23 return enumerator;
24 }
25
26 // Token: 0x060007A8 RID: 1960 RVA: 0x00013658 File Offset: 0x00011858
28 {
29 /*
30An exception occurred when decompiling this method (060007A8)
31
32ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator Newtonsoft.Json.Linq.JEnumerable`1::System.Collections.IEnumerable.GetEnumerator()
33
34 ---> System.Exception: Basic block has to end with unconditional control flow.
35{
36 Block_0:
37 stloc:IEnumerator`1(var_0_06, call:IEnumerator`1(JEnumerable`1::GetEnumerator, ldloc:valuetype Newtonsoft.Json.Linq.JEnumerable`1&(this)))
38}
39
40 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
41 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
42 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
43 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
44 --- End of inner exception stack trace ---
45 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
46 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
47*/;
48 }
49
50 // Token: 0x17000176 RID: 374
51 public IJEnumerable<JToken> this[object key]
52 {
53 get
54 {
55 return 1;
56 }
57 }
58
59 // Token: 0x060007AA RID: 1962 RVA: 0x00013680 File Offset: 0x00011880
61 {
62 bool flag;
63 return flag;
64 }
65
66 // Token: 0x060007AB RID: 1963 RVA: 0x00013690 File Offset: 0x00011890
67 public override bool Equals(object obj)
68 {
69 if (obj != null)
70 {
71 }
72 bool flag;
73 return flag;
74 }
75
76 // Token: 0x060007AC RID: 1964 RVA: 0x0000212A File Offset: 0x0000032A
77 public override int GetHashCode()
78 {
79 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
80 }
81
82 // Token: 0x060007AD RID: 1965 RVA: 0x000136AC File Offset: 0x000118AC
83 // Note: this type is marked as 'beforefieldinit'.
84 static JEnumerable()
85 {
86 }
87
88 // Token: 0x04000328 RID: 808
90
91 // Token: 0x04000329 RID: 809
93 }
94}
class f__AnonymousType0<< Count > j__TPar
readonly IEnumerable< T > _enumerable
override bool Equals(object obj)
bool Equals(JEnumerable< T > other)
IEnumerator< T > GetEnumerator()
static readonly JEnumerable< T > Empty
JEnumerable(IEnumerable< T > enumerable)