m
This commit is contained in:
+141
@@ -0,0 +1,141 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509
|
||||
{
|
||||
// Token: 0x02001FA0 RID: 8096
|
||||
[Token(Token = "0x2001FA0")]
|
||||
public class AdmissionSyntax : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CAB7 RID: 51895 RVA: 0x002DFFE8 File Offset: 0x002DE1E8
|
||||
[Token(Token = "0x600CAB7")]
|
||||
[Address(RVA = "0x2EA27E0", Offset = "0x2EA17E0", VA = "0x182EA27E0")]
|
||||
public static AdmissionSyntax GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CAB7)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.AdmissionSyntax BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.AdmissionSyntax::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_42:
|
||||
stloc:string(var_9_48, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_10_60, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in factory: "), ldloc:string(var_9_48)), 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: 0x0600CAB8 RID: 51896 RVA: 0x002E0058 File Offset: 0x002DE258
|
||||
[Token(Token = "0x600CAB8")]
|
||||
[Address(RVA = "0x2EA2C70", Offset = "0x2EA1C70", VA = "0x182EA2C70")]
|
||||
private AdmissionSyntax(Asn1Sequence seq)
|
||||
{
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable == (ulong)1L)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
Asn1Sequence asn1Sequence;
|
||||
this.contentsOfAdmissions = asn1Sequence;
|
||||
return;
|
||||
}
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
GeneralName generalName;
|
||||
this.admissionAuthority = generalName;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600CAB9 RID: 51897 RVA: 0x002E0094 File Offset: 0x002DE294
|
||||
[Token(Token = "0x600CAB9")]
|
||||
[Address(RVA = "0x4714F0", Offset = "0x4704F0", VA = "0x1804714F0")]
|
||||
public AdmissionSyntax(GeneralName admissionAuthority, Asn1Sequence contentsOfAdmissions)
|
||||
{
|
||||
this.admissionAuthority = admissionAuthority;
|
||||
this.contentsOfAdmissions = contentsOfAdmissions;
|
||||
}
|
||||
|
||||
// Token: 0x0600CABA RID: 51898 RVA: 0x002E00B8 File Offset: 0x002DE2B8
|
||||
[Token(Token = "0x600CABA")]
|
||||
[Address(RVA = "0x2EA2AD0", Offset = "0x2EA1AD0", VA = "0x182EA2AD0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
if (this.admissionAuthority != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
GeneralName generalName = this.admissionAuthority;
|
||||
if (generalName != 0)
|
||||
{
|
||||
}
|
||||
array[0] = generalName;
|
||||
asn1EncodableVector.Add(array);
|
||||
}
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
Asn1Sequence asn1Sequence = this.contentsOfAdmissions;
|
||||
if (asn1Sequence != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = asn1Sequence;
|
||||
asn1EncodableVector.Add(array2);
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x17001FAB RID: 8107
|
||||
// (get) Token: 0x0600CABB RID: 51899 RVA: 0x002E0124 File Offset: 0x002DE324
|
||||
[Token(Token = "0x17001FAB")]
|
||||
public virtual GeneralName AdmissionAuthority
|
||||
{
|
||||
[Token(Token = "0x600CABB")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.admissionAuthority;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CABC RID: 51900 RVA: 0x002E0138 File Offset: 0x002DE338
|
||||
[Token(Token = "0x600CABC")]
|
||||
[Address(RVA = "0x2EA26B0", Offset = "0x2EA16B0", VA = "0x182EA26B0", Slot = "7")]
|
||||
public virtual Admissions[] GetContentsOfAdmissions()
|
||||
{
|
||||
Asn1Sequence asn1Sequence = this.contentsOfAdmissions;
|
||||
Asn1Encodable asn1Encodable;
|
||||
Admissions[] array = new Admissions[asn1Encodable];
|
||||
int num = 0;
|
||||
Asn1Sequence asn1Sequence2 = this.contentsOfAdmissions;
|
||||
Asn1Encodable asn1Encodable2;
|
||||
if (num < asn1Encodable2)
|
||||
{
|
||||
Asn1SequenceParser parser = this.contentsOfAdmissions.Parser;
|
||||
Admissions admissions;
|
||||
if (admissions != 0)
|
||||
{
|
||||
}
|
||||
num++;
|
||||
array[0] = admissions;
|
||||
Asn1Sequence asn1Sequence3 = this.contentsOfAdmissions;
|
||||
}
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x04008066 RID: 32870
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008066")]
|
||||
private readonly GeneralName admissionAuthority;
|
||||
|
||||
// Token: 0x04008067 RID: 32871
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008067")]
|
||||
private readonly Asn1Sequence contentsOfAdmissions;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user