コード例 #1
0
ファイル: SignatureReader.cs プロジェクト: sidecut/xaeios
        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 ();
        }
コード例 #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);
        }
コード例 #3
0
		public CodeReader (ReflectionReader reflectReader)
		{
			m_reflectReader = reflectReader;
			m_root = m_reflectReader.MetadataRoot;
			m_instructions = new Hashtable ();
		}
コード例 #4
0
ファイル: CodeReader.cs プロジェクト: contra/DotNOS
 public CodeReader(ReflectionReader reflectReader)
 {
     m_reflectReader = reflectReader;
     m_root = m_reflectReader.MetadataRoot;
 }
コード例 #5
0
 public SecurityDeclarationReader(MetadataRoot root, ReflectionReader reader)
 {
     sr = new SignatureReader (root, reader);
 }
 public SecurityDeclarationReader(MetadataRoot root, ReflectionReader reader)
 {
     sr = new SignatureReader(root, reader);
 }
コード例 #7
0
 public ReflectionController(ModuleDefinition module)
 {
     m_reader = new AggressiveReflectionReader (module);
     m_writer = new ReflectionWriter (module);
     m_helper = new ReflectionHelper (module);
 }
コード例 #8
0
 public ReflectionController(ModuleDefinition module)
 {
     m_reader = new AggressiveReflectionReader(module);
     m_writer = new ReflectionWriter(module);
     m_helper = new ReflectionHelper(module);
 }