コード例 #1
0
ファイル: AssemblyOptions.cs プロジェクト: manojdjoshi/dnSpy
		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);
		}
コード例 #2
0
ファイル: AssemblyOptions.cs プロジェクト: xornand/dnSpy
 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);
 }