a
This commit is contained in:
+145
@@ -0,0 +1,145 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.Qualified
|
||||
{
|
||||
// Token: 0x02001E3A RID: 7738
|
||||
[Token(Token = "0x2001E3A")]
|
||||
public class Iso4217CurrencyCode : Asn1Encodable, IAsn1Choice
|
||||
{
|
||||
// Token: 0x0600C427 RID: 50215 RVA: 0x002CBF38 File Offset: 0x002CA138
|
||||
[Token(Token = "0x600C427")]
|
||||
[Address(RVA = "0x2B361F0", Offset = "0x2B34FF0", VA = "0x182B361F0")]
|
||||
public static Iso4217CurrencyCode GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C427)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.Qualified.Iso4217CurrencyCode BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.Qualified.Iso4217CurrencyCode::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_78:
|
||||
stloc:string(var_10_7E, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_11_96, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in GetInstance: "), ldloc:string(var_10_7E)), ldstr:string("obj")))
|
||||
}
|
||||
|
||||
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: 0x0600C428 RID: 50216 RVA: 0x002CBFDC File Offset: 0x002CA1DC
|
||||
[Token(Token = "0x600C428")]
|
||||
[Address(RVA = "0x2B36680", Offset = "0x2B35480", VA = "0x182B36680")]
|
||||
public Iso4217CurrencyCode(int numeric)
|
||||
{
|
||||
if (numeric - 1 <= 998)
|
||||
{
|
||||
DerInteger derInteger = new DerInteger(numeric);
|
||||
this.obj = derInteger;
|
||||
return;
|
||||
}
|
||||
object[] array = new object[5];
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C429 RID: 50217 RVA: 0x002CC078 File Offset: 0x002CA278
|
||||
[Token(Token = "0x600C429")]
|
||||
[Address(RVA = "0x2B36840", Offset = "0x2B35640", VA = "0x182B36840")]
|
||||
public Iso4217CurrencyCode(string alphabetic)
|
||||
{
|
||||
DerPrintableString derPrintableString = new DerPrintableString(alphabetic);
|
||||
this.obj = derPrintableString;
|
||||
}
|
||||
|
||||
// Token: 0x17001E6B RID: 7787
|
||||
// (get) Token: 0x0600C42A RID: 50218 RVA: 0x002CC0A0 File Offset: 0x002CA2A0
|
||||
[Token(Token = "0x17001E6B")]
|
||||
public bool IsAlphabetic
|
||||
{
|
||||
[Token(Token = "0x600C42A")]
|
||||
[Address(RVA = "0x2B369F0", Offset = "0x2B357F0", VA = "0x182B369F0")]
|
||||
get
|
||||
{
|
||||
Asn1Encodable asn1Encodable = this.obj;
|
||||
if (asn1Encodable == 0)
|
||||
{
|
||||
return 0 != 0;
|
||||
}
|
||||
return asn1Encodable != 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E6C RID: 7788
|
||||
// (get) Token: 0x0600C42B RID: 50219 RVA: 0x002CC0CC File Offset: 0x002CA2CC
|
||||
[Token(Token = "0x17001E6C")]
|
||||
public string Alphabetic
|
||||
{
|
||||
[Token(Token = "0x600C42B")]
|
||||
[Address(RVA = "0x2B36920", Offset = "0x2B35720", VA = "0x182B36920")]
|
||||
get
|
||||
{
|
||||
Asn1Encodable asn1Encodable;
|
||||
do
|
||||
{
|
||||
asn1Encodable = this.obj;
|
||||
}
|
||||
while (asn1Encodable == 0 || asn1Encodable == 0);
|
||||
Asn1Object asn1Object = asn1Encodable.ToAsn1Object();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E6D RID: 7789
|
||||
// (get) Token: 0x0600C42C RID: 50220 RVA: 0x002CC0F8 File Offset: 0x002CA2F8
|
||||
[Token(Token = "0x17001E6D")]
|
||||
public int Numeric
|
||||
{
|
||||
[Token(Token = "0x600C42C")]
|
||||
[Address(RVA = "0x2B36A70", Offset = "0x2B35870", VA = "0x182B36A70")]
|
||||
get
|
||||
{
|
||||
Asn1Encodable asn1Encodable;
|
||||
do
|
||||
{
|
||||
asn1Encodable = this.obj;
|
||||
}
|
||||
while (asn1Encodable == 0 || asn1Encodable == 0);
|
||||
BigInteger bigInteger;
|
||||
return bigInteger.IntValue;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C42D RID: 50221 RVA: 0x002CC124 File Offset: 0x002CA324
|
||||
[Token(Token = "0x600C42D")]
|
||||
[Address(RVA = "0x53BA50", Offset = "0x53A850", VA = "0x18053BA50", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
return this.obj.ToAsn1Object();
|
||||
}
|
||||
|
||||
// Token: 0x04007BCB RID: 31691
|
||||
[Token(Token = "0x4007BCB")]
|
||||
internal const int AlphabeticMaxSize = 3;
|
||||
|
||||
// Token: 0x04007BCC RID: 31692
|
||||
[Token(Token = "0x4007BCC")]
|
||||
internal const int NumericMinSize = 1;
|
||||
|
||||
// Token: 0x04007BCD RID: 31693
|
||||
[Token(Token = "0x4007BCD")]
|
||||
internal const int NumericMaxSize = 999;
|
||||
|
||||
// Token: 0x04007BCE RID: 31694
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007BCE")]
|
||||
internal Asn1Encodable obj;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user