using System; using System.Runtime.InteropServices; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X500; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509 { // Token: 0x020018EB RID: 6379 [Token(Token = "0x20018EB")] [StructLayout(3)] public class Restriction : Asn1Encodable { // Token: 0x0600AB49 RID: 43849 RVA: 0x002805CC File Offset: 0x0027E7CC [Token(Token = "0x600AB49")] [Address(RVA = "0x27DD520", Offset = "0x27DBF20", VA = "0x1827DD520")] public static Restriction GetInstance(object obj) { /* An exception occurred when decompiling this method (0600AB49) ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.Restriction BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.Restriction::GetInstance(System.Object) ---> System.Exception: Basic block has to end with unconditional control flow. { IL_20: stloc:string(var_4_26, call:string(Platform::GetTypeName, ldloc:Restriction[exp:object](var_3))) stloc:ArgumentException(var_5_3E, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Unknown object in GetInstance: "), ldloc:string(var_4_26)), 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.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846 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: 0x0600AB4A RID: 43850 RVA: 0x00280618 File Offset: 0x0027E818 [Token(Token = "0x600AB4A")] [Address(RVA = "0x579A20", Offset = "0x578420", VA = "0x180579A20")] private Restriction(DirectoryString restriction) { this.restriction = restriction; } // Token: 0x0600AB4B RID: 43851 RVA: 0x00280634 File Offset: 0x0027E834 [Token(Token = "0x600AB4B")] [Address(RVA = "0x27DD6A0", Offset = "0x27DC0A0", VA = "0x1827DD6A0")] public Restriction(string restriction) { DirectoryString directoryString = new DirectoryString(restriction); this.restriction = directoryString; } // Token: 0x17001B21 RID: 6945 // (get) Token: 0x0600AB4C RID: 43852 RVA: 0x00280658 File Offset: 0x0027E858 [Token(Token = "0x17001B21")] public virtual DirectoryString RestrictionString { [Token(Token = "0x600AB4C")] [Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0", Slot = "6")] get { return this.restriction; } } // Token: 0x0600AB4D RID: 43853 RVA: 0x0028066C File Offset: 0x0027E86C [Token(Token = "0x600AB4D")] [Address(RVA = "0x52D760", Offset = "0x52C160", VA = "0x18052D760", Slot = "5")] public override Asn1Object ToAsn1Object() { return this.restriction.ToAsn1Object(); } // Token: 0x04007097 RID: 28823 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x4007097")] private readonly DirectoryString restriction; } }