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

◆ MoveToAttribute()

override bool System.Xml.XmlTextReaderImpl.MoveToAttribute ( string name)
inline

Definition at line 352 of file XmlTextReaderImpl.cs.

353 {
354 /*
355An exception occurred when decompiling this method (06000263)
356
357ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Xml.XmlTextReaderImpl::MoveToAttribute(System.String)
358
359 ---> System.Exception: Basic block has to end with unconditional control flow.
360{
361 Block_0:
362 stloc:int32(var_0_02, ldc.i4:int32(58))
363 stloc:int32(var_1_0A, call:int32(string::IndexOf, ldloc:string(name), ldloc:int32[exp:char](var_0_02)))
364 stloc:int32(var_2_12, call:int32(XmlTextReaderImpl::GetIndexOfAttributeWithPrefix, ldloc:XmlTextReaderImpl(this), ldloc:string(name)))
365 stloc:int32(var_3_1A, call:int32(XmlTextReaderImpl::GetIndexOfAttributeWithoutPrefix, ldloc:XmlTextReaderImpl(this), ldloc:string(name)))
366 stloc:int32(var_4_21, ldfld:int32(XmlTextReaderImpl::attrCount, ldloc:XmlTextReaderImpl(this)))
367 stloc:ParsingFunction(var_5_29, ldfld:ParsingFunction(XmlTextReaderImpl::parsingFunction, ldloc:XmlTextReaderImpl(this)))
368 call:void(XmlTextReaderImpl::FinishAttributeValueIterator, ldloc:XmlTextReaderImpl(this))
369 stloc:int32(var_6_37, ldfld:int32(XmlTextReaderImpl::index, ldloc:XmlTextReaderImpl(this)))
370 stloc:class System.Xml.XmlTextReaderImpl/NodeData[](var_7_3F, ldfld:class System.Xml.XmlTextReaderImpl/NodeData[](XmlTextReaderImpl::nodes, ldloc:XmlTextReaderImpl(this)))
371 stfld:int32(XmlTextReaderImpl::curAttrIndex, ldloc:XmlTextReaderImpl(this), ldloc:int32(var_6_37))
372 stloc:string(var_9_53, ldfld:string(NodeData::prefix, ldloc:class System.Xml.XmlTextReaderImpl/NodeData[][exp:NodeData](var_7_3F)))
373 stfld:NodeData(XmlTextReaderImpl::curNode, ldloc:XmlTextReaderImpl(this), ldloc:string[exp:NodeData](var_9_53))
374}
375
376 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
377 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
378 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
379 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
380 --- End of inner exception stack trace ---
381 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
382 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
383*/;
384 }