public SignatureReader(MetadataRoot root, ReflectionReader reflectReader) { m_root = root; m_reflectReader = reflectReader; m_blobData = m_root.Streams.BlobHeap != null ? m_root.Streams.BlobHeap.Data : new byte [0]; m_signatures = new Hashtable (); }
public bool Resolve() { if (Resolved) { return(true); } ReflectionReader r = m_ctor.DeclaringType.Module.Controller.Reader; CustomAttribute newCa = r.GetCustomAttribute(m_ctor, Blob, true); if (!newCa.Resolved) { return(false); } newCa.CopyTo(this); return(true); }
public CodeReader (ReflectionReader reflectReader) { m_reflectReader = reflectReader; m_root = m_reflectReader.MetadataRoot; m_instructions = new Hashtable (); }
public CodeReader(ReflectionReader reflectReader) { m_reflectReader = reflectReader; m_root = m_reflectReader.MetadataRoot; }
public SecurityDeclarationReader(MetadataRoot root, ReflectionReader reader) { sr = new SignatureReader (root, reader); }
public SecurityDeclarationReader(MetadataRoot root, ReflectionReader reader) { sr = new SignatureReader(root, reader); }
public ReflectionController(ModuleDefinition module) { m_reader = new AggressiveReflectionReader (module); m_writer = new ReflectionWriter (module); m_helper = new ReflectionHelper (module); }
public ReflectionController(ModuleDefinition module) { m_reader = new AggressiveReflectionReader(module); m_writer = new ReflectionWriter(module); m_helper = new ReflectionHelper(module); }