using System; using BestHTTP.SecureProtocol.Org.BouncyCastle.Math; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.Qualified { // Token: 0x02001F1A RID: 7962 [Token(Token = "0x2001F1A")] public class Iso4217CurrencyCode : Asn1Encodable, IAsn1Choice { // Token: 0x0600C7F5 RID: 51189 RVA: 0x002D47C8 File Offset: 0x002D29C8 [Token(Token = "0x600C7F5")] [Address(RVA = "0x2E7D7F0", Offset = "0x2E7C7F0", VA = "0x182E7D7F0")] public static Iso4217CurrencyCode GetInstance(object obj) { /* An exception occurred when decompiling this method (0600C7F5) 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 1663 */; } // Token: 0x0600C7F6 RID: 51190 RVA: 0x002D486C File Offset: 0x002D2A6C [Token(Token = "0x600C7F6")] [Address(RVA = "0x2E7DC80", Offset = "0x2E7CC80", VA = "0x182E7DC80")] 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: 0x0600C7F7 RID: 51191 RVA: 0x002D4908 File Offset: 0x002D2B08 [Token(Token = "0x600C7F7")] [Address(RVA = "0x2E7DE40", Offset = "0x2E7CE40", VA = "0x182E7DE40")] public Iso4217CurrencyCode(string alphabetic) { DerPrintableString derPrintableString = new DerPrintableString(alphabetic); this.obj = derPrintableString; } // Token: 0x17001F08 RID: 7944 // (get) Token: 0x0600C7F8 RID: 51192 RVA: 0x002D4930 File Offset: 0x002D2B30 [Token(Token = "0x17001F08")] public bool IsAlphabetic { [Token(Token = "0x600C7F8")] [Address(RVA = "0x2E7DFF0", Offset = "0x2E7CFF0", VA = "0x182E7DFF0")] get { Asn1Encodable asn1Encodable = this.obj; if (asn1Encodable == 0) { return 0 != 0; } return asn1Encodable != 0; } } // Token: 0x17001F09 RID: 7945 // (get) Token: 0x0600C7F9 RID: 51193 RVA: 0x002D495C File Offset: 0x002D2B5C [Token(Token = "0x17001F09")] public string Alphabetic { [Token(Token = "0x600C7F9")] [Address(RVA = "0x2E7DF20", Offset = "0x2E7CF20", VA = "0x182E7DF20")] get { Asn1Encodable asn1Encodable; do { asn1Encodable = this.obj; } while (asn1Encodable == 0 || asn1Encodable == 0); Asn1Object asn1Object = asn1Encodable.ToAsn1Object(); throw new NullReferenceException(); } } // Token: 0x17001F0A RID: 7946 // (get) Token: 0x0600C7FA RID: 51194 RVA: 0x002D4988 File Offset: 0x002D2B88 [Token(Token = "0x17001F0A")] public int Numeric { [Token(Token = "0x600C7FA")] [Address(RVA = "0x2E7E070", Offset = "0x2E7D070", VA = "0x182E7E070")] get { Asn1Encodable asn1Encodable; do { asn1Encodable = this.obj; } while (asn1Encodable == 0 || asn1Encodable == 0); BigInteger bigInteger; return bigInteger.IntValue; } } // Token: 0x0600C7FB RID: 51195 RVA: 0x002D49B4 File Offset: 0x002D2BB4 [Token(Token = "0x600C7FB")] [Address(RVA = "0x415960", Offset = "0x414960", VA = "0x180415960", Slot = "5")] public override Asn1Object ToAsn1Object() { return this.obj.ToAsn1Object(); } // Token: 0x04007D84 RID: 32132 [Token(Token = "0x4007D84")] internal const int AlphabeticMaxSize = 3; // Token: 0x04007D85 RID: 32133 [Token(Token = "0x4007D85")] internal const int NumericMinSize = 1; // Token: 0x04007D86 RID: 32134 [Token(Token = "0x4007D86")] internal const int NumericMaxSize = 999; // Token: 0x04007D87 RID: 32135 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4007D87")] internal Asn1Encodable obj; } }