using System; using System.Collections; using Cpp2IlInjected; namespace Obi { // Token: 0x020004C5 RID: 1221 [Token(Token = "0x20004C5")] public class EditorCoroutine { // Token: 0x06002B1C RID: 11036 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6002B1C")] [Address(RVA = "0xA5D680", Offset = "0xA5C480", VA = "0x180A5D680")] public static EditorCoroutine StartCoroutine(IEnumerator _routine) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x170002EC RID: 748 // (get) Token: 0x06002B1D RID: 11037 RVA: 0x0005D758 File Offset: 0x0005B958 [Token(Token = "0x170002EC")] public object Result { [Token(Token = "0x6002B1D")] [Address(RVA = "0x2B4380", Offset = "0x2B3180", VA = "0x1802B4380")] get { return this.result; } } // Token: 0x170002ED RID: 749 // (get) Token: 0x06002B1E RID: 11038 RVA: 0x0005D76C File Offset: 0x0005B96C [Token(Token = "0x170002ED")] public bool IsDone { [Token(Token = "0x6002B1E")] [Address(RVA = "0x51C310", Offset = "0x51B110", VA = "0x18051C310")] get { return this.isDone; } } // Token: 0x06002B1F RID: 11039 RVA: 0x0005D780 File Offset: 0x0005B980 [Token(Token = "0x6002B1F")] [Address(RVA = "0x44F860", Offset = "0x44E660", VA = "0x18044F860")] private EditorCoroutine(IEnumerator _routine) { /* An exception occurred when decompiling this method (06002B1F) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void Obi.EditorCoroutine::.ctor(System.Collections.IEnumerator) ---> System.Exception: Basic block has to end with unconditional control flow. {; Block_0:; call:void(object::.ctor, ldloc:EditorCoroutine[exp:object](this)); stfld:IEnumerator(EditorCoroutine::routine, ldloc:EditorCoroutine(this), ldloc:IEnumerator(_routine)); }; at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810 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 344 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 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 --- End of inner exception stack trace --- 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 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 1618 */; } // Token: 0x06002B20 RID: 11040 RVA: 0x0005D79C File Offset: 0x0005B99C [Token(Token = "0x6002B20")] [Address(RVA = "0xA5D780", Offset = "0xA5C580", VA = "0x180A5D780")] private void Start() { this.isDone = false; this.result = (ulong)0L; IEnumerator enumerator = this.routine; IEnumerator enumerator2 = this.routine; this.result = typeof(IEnumerator).TypeHandle; if (typeof(IEnumerator).TypeHandle == 0) { this.isDone = true; } } // Token: 0x06002B21 RID: 11041 RVA: 0x0005D7E8 File Offset: 0x0005B9E8 [Token(Token = "0x6002B21")] [Address(RVA = "0x7817F0", Offset = "0x7805F0", VA = "0x1807817F0")] public void Stop() { this.isDone = true; } // Token: 0x06002B22 RID: 11042 RVA: 0x0005D7FC File Offset: 0x0005B9FC [Token(Token = "0x6002B22")] [Address(RVA = "0xA5D830", Offset = "0xA5C630", VA = "0x180A5D830")] private void Update() { IEnumerator enumerator = this.routine; IEnumerator enumerator2 = this.routine; this.result = typeof(IEnumerator).TypeHandle; if (typeof(IEnumerator).TypeHandle == 0) { this.isDone = true; } } // Token: 0x06002B23 RID: 11043 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6002B23")] [Address(RVA = "0x297F00", Offset = "0x296D00", VA = "0x180297F00")] public static void ShowCoroutineProgressBar(string title, EditorCoroutine coroutine) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x0400339F RID: 13215 [FieldOffset(Offset = "0x10")] [Token(Token = "0x400339F")] private readonly IEnumerator routine; // Token: 0x040033A0 RID: 13216 [FieldOffset(Offset = "0x18")] [Token(Token = "0x40033A0")] private object result; // Token: 0x040033A1 RID: 13217 [FieldOffset(Offset = "0x20")] [Token(Token = "0x40033A1")] private bool isDone; } }