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

◆ InternalGetCookies()

CookieCollection System.Net.CookieContainer.InternalGetCookies ( global::System::Uri uri)
inlinepackage

Definition at line 344 of file CookieContainer.cs.

345 {
346 /*
347An exception occurred when decompiling this method (06000D41)
348
349ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Net.CookieCollection System.Net.CookieContainer::InternalGetCookies(System.Uri)
350
351 ---> System.Exception: Basic block has to end with unconditional control flow.
352{
353 Block_1:
354 stloc:int64(var_9_50, ldc.i4:int64(0))
355 stloc:string(var_10_5A, call:string(string::Concat, ldloc:string(var_3_14), ldloc:string(var_8_40)))
356 stloc:int32(var_11_62, ldfld:int32(string::_stringLength, ldloc:string(var_3_14)))
357 stloc:int32(var_12_66, ldc.i4:int32(46))
358 stloc:int32(var_13_72, call:int32(string::LastIndexOf, ldloc:string(var_3_14), ldloc:int32[exp:char](var_12_66), ldloc:int64[exp:int32](var_9_50)))
359 stloc:int32(var_14_76, ldc.i4:int32(46))
360 stloc:int32(var_15_82, call:int32(string::LastIndexOf, ldloc:string(var_3_14), ldloc:int32[exp:char](var_14_76), ldloc:int64[exp:int32](var_9_50)))
361 stloc:int32(var_16_86, ldc.i4:int32(46))
362 stloc:int32(var_17_92, call:int32(string::IndexOf, ldloc:string(var_3_14), ldloc:int32[exp:char](var_16_86), ldloc:int64[exp:int32](var_9_50)))
363 stloc:string(var_18_9C, call:string(string::Substring, ldloc:string(var_3_14), ldloc:int32(var_17_92)))
364 stloc:string(var_19_A4, ldfld:string(CookieContainer::m_fqdnMyDomain, ldloc:CookieContainer(this)))
365}
366
367 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
368 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
369 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
370 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
371 --- End of inner exception stack trace ---
372 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
373 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
374*/;
375 }

Referenced by System.Net.CookieContainer.GetCookieHeader(), and System.Net.CookieContainer.GetCookies().