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

◆ TryHashData()

virtual bool System.Security.Cryptography.RSA.TryHashData ( ReadOnlySpan< byte > data,
Span< byte > destination,
HashAlgorithmName hashAlgorithm,
[Out] int bytesWritten )
inlineprotectedvirtualinherited

Definition at line 489 of file RSA.cs.

490 {
491 /*
492An exception occurred when decompiling this method (0600196D)
493
494ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Security.Cryptography.RSA::TryHashData(System.ReadOnlySpan`1<System.Byte>,System.Span`1<System.Byte>,System.Security.Cryptography.HashAlgorithmName,System.Int32)
495
496 ---> System.Exception: Basic block has to end with unconditional control flow.
497{
498 IL_0008:
499 stloc:class System.Security.Cryptography.KeySizes[](var_2_0E, ldfld:class System.Security.Cryptography.KeySizes[](AsymmetricAlgorithm::LegalKeySizesValue, ldloc:RSA[exp:AsymmetricAlgorithm](this)))
500 stloc:class System.Security.Cryptography.KeySizes[](var_4_17, ldfld:class System.Security.Cryptography.KeySizes[](AsymmetricAlgorithm::LegalKeySizesValue, ldloc:RSA[exp:AsymmetricAlgorithm](this)))
501}
502
503 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
504 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
505 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
506 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
507 --- End of inner exception stack trace ---
508 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
509 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
510*/;
511 }