Exemplo n.º 1
0
        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 ();
        }
Exemplo n.º 2
0
        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 ();
		}
Exemplo n.º 4
0
 public CodeReader(ReflectionReader reflectReader)
 {
     m_reflectReader = reflectReader;
     m_root = m_reflectReader.MetadataRoot;
 }
Exemplo n.º 5
0
 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);
 }