public AssemblyOptions(AssemblyDef asm) { HashAlgorithm = asm.HashAlgorithm; Version = asm.Version; Attributes = asm.Attributes; PublicKey = asm.PublicKey; Name = asm.Name; Culture = asm.Culture; ClrVersion = Module.ClrVersion.DefaultVersion; CustomAttributes.AddRange(asm.CustomAttributes); DeclSecurities.AddRange(asm.DeclSecurities); }
public AssemblyOptions(AssemblyDef asm) { this.HashAlgorithm = asm.HashAlgorithm; this.Version = asm.Version; this.Attributes = asm.Attributes; this.PublicKey = asm.PublicKey; this.Name = asm.Name; this.Culture = asm.Culture; this.ClrVersion = Module.ClrVersion.DefaultVersion; this.CustomAttributes.AddRange(asm.CustomAttributes); this.DeclSecurities.AddRange(asm.DeclSecurities); }