2010-06-03 Jb Evain <jbevain@novell.com>
[mcs.git] / ilasm / codegen / FileRef.cs
blob5acc659a65619bb82b3881ef73c571a1d53a1d49
1 //
2 // Mono.ILASM.FileRef
3 //
4 // Author(s):
5 // Jackson Harper (jackson@ximian.com)
6 //
7 // Copyright 2004 Novell, Inc (http://www.novell.com)
8 //
11 using System;
13 namespace Mono.ILASM {
15 public class FileRef {
17 private string name;
18 private byte [] hash;
19 private bool has_metadata;
20 private bool entrypoint;
22 public FileRef (string name, byte[] hash, bool has_metadata, bool entrypoint)
24 this.name = name;
25 this.hash = hash;
26 this.has_metadata = has_metadata;
27 this.entrypoint = entrypoint;
30 public void Resolve (CodeGen codegen)
32 codegen.PEFile.AddFile (name, hash, has_metadata, entrypoint);