a
This commit is contained in:
+120
@@ -0,0 +1,120 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem
|
||||
{
|
||||
// Token: 0x02001943 RID: 6467
|
||||
[Token(Token = "0x2001943")]
|
||||
public class PemHeader
|
||||
{
|
||||
// Token: 0x06009988 RID: 39304 RVA: 0x001FD764 File Offset: 0x001FB964
|
||||
[Token(Token = "0x6009988")]
|
||||
[Address(RVA = "0x4089A0", Offset = "0x4077A0", VA = "0x1804089A0")]
|
||||
public PemHeader(string name, string val)
|
||||
{
|
||||
this.name = name;
|
||||
this.val = val;
|
||||
}
|
||||
|
||||
// Token: 0x17001873 RID: 6259
|
||||
// (get) Token: 0x06009989 RID: 39305 RVA: 0x001FD788 File Offset: 0x001FB988
|
||||
[Token(Token = "0x17001873")]
|
||||
public virtual string Name
|
||||
{
|
||||
[Token(Token = "0x6009989")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "4")]
|
||||
get
|
||||
{
|
||||
return this.name;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001874 RID: 6260
|
||||
// (get) Token: 0x0600998A RID: 39306 RVA: 0x001FD79C File Offset: 0x001FB99C
|
||||
[Token(Token = "0x17001874")]
|
||||
public virtual string Value
|
||||
{
|
||||
[Token(Token = "0x600998A")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "5")]
|
||||
get
|
||||
{
|
||||
return this.val;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600998B RID: 39307 RVA: 0x001FD7B0 File Offset: 0x001FB9B0
|
||||
[Token(Token = "0x600998B")]
|
||||
[Address(RVA = "0x18E5280", Offset = "0x18E4080", VA = "0x1818E5280", Slot = "2")]
|
||||
public override int GetHashCode()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600998B)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO.Pem.PemHeader::GetHashCode()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_22:
|
||||
stloc:int64(var_3, add:int64(ldloc:int64(var_3), ldloc:uint32[exp:int64](var_0)))
|
||||
}
|
||||
|
||||
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
|
||||
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
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600998C RID: 39308 RVA: 0x001FD7E4 File Offset: 0x001FB9E4
|
||||
[Token(Token = "0x600998C")]
|
||||
[Address(RVA = "0x18E5170", Offset = "0x18E3F70", VA = "0x1818E5170", Slot = "0")]
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
while (obj != this)
|
||||
{
|
||||
if (obj != 0 && obj != 0)
|
||||
{
|
||||
if (obj == 0)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
string text = this.name;
|
||||
bool flag;
|
||||
if (flag)
|
||||
{
|
||||
string text2 = this.val;
|
||||
bool flag2;
|
||||
return flag2;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
// Token: 0x0600998D RID: 39309 RVA: 0x001FD820 File Offset: 0x001FBA20
|
||||
[Token(Token = "0x600998D")]
|
||||
[Address(RVA = "0x18E52F0", Offset = "0x18E40F0", VA = "0x1818E52F0")]
|
||||
private int GetHashCode(string s)
|
||||
{
|
||||
if (s != 0)
|
||||
{
|
||||
object obj = ((ICloneable)s).Clone();
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
// Token: 0x04006874 RID: 26740
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006874")]
|
||||
private string name;
|
||||
|
||||
// Token: 0x04006875 RID: 26741
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006875")]
|
||||
private string val;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user