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

◆ Fallback() [2/2]

bool System.Text.Encoding.EncodingCharBuffer.Fallback ( byte[] byteBuffer)
inlinepackage

Definition at line 1553 of file Encoding.cs.

1554 {
1555 /*
1556An exception occurred when decompiling this method (06001693)
1557
1558ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Text.Encoding/EncodingCharBuffer::Fallback(System.Byte[])
1559
1560 ---> System.Exception: Basic block has to end with unconditional control flow.
1561{
1562 IL_0024:
1563 stloc:uint8*(var_4_2A, ldfld:uint8*(EncodingCharBuffer::bytes, ldloc:EncodingCharBuffer(this)))
1564 stloc:DecoderFallbackBuffer(var_5_32, ldfld:DecoderFallbackBuffer(EncodingCharBuffer::fallbackBuffer, ldloc:EncodingCharBuffer(this)))
1565 stloc:int32(var_6_3A, ldfld:int32(EncodingCharBuffer::charCountResult, ldloc:EncodingCharBuffer(this)))
1566 stloc:uint8*(var_8_45, ldfld:uint8*(EncodingCharBuffer::bytes, ldloc:EncodingCharBuffer(this)))
1567 call:void(DecoderFallbackBuffer::InternalReset, ldfld:DecoderFallbackBuffer(EncodingCharBuffer::fallbackBuffer, ldloc:EncodingCharBuffer(this)))
1568 stloc:char*(var_9_58, ldfld:char*(EncodingCharBuffer::chars, ldloc:EncodingCharBuffer(this)))
1569 stloc:char*(var_10_60, ldfld:char*(EncodingCharBuffer::charStart, ldloc:EncodingCharBuffer(this)))
1570 stloc:Encoding(var_11_68, ldfld:Encoding(EncodingCharBuffer::enc, ldloc:EncodingCharBuffer(this)))
1571 stloc:DecoderNLS(var_12_70, ldfld:DecoderNLS(EncodingCharBuffer::decoder, ldloc:EncodingCharBuffer(this)))
1572}
1573
1574 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
1575 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
1576 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
1577 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
1578 --- End of inner exception stack trace ---
1579 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
1580 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
1581*/;
1582 }