Ejemplo n.º 1
0
 internal static CilTypeReference Create(TypeReference typeReference, ref CilReaders readers, int token)
 {
     CilTypeReference type = new CilTypeReference();
     type._typeReference = typeReference;
     type._readers = readers;
     type._token = token;
     return type;
 }
Ejemplo n.º 2
0
        internal static CilTypeReference Create(TypeReference typeReference, ref CilReaders readers, int token)
        {
            CilTypeReference type = new CilTypeReference();

            type._typeReference = typeReference;
            type._readers       = readers;
            type._token         = token;
            return(type);
        }
Ejemplo n.º 3
0
        private IEnumerable <CilTypeReference> GetTypeReferences()
        {
            var handles = _readers.MdReader.TypeReferences;

            foreach (var handle in handles)
            {
                var typeReference = _readers.MdReader.GetTypeReference(handle);
                yield return(CilTypeReference.Create(typeReference, ref _readers, MetadataTokens.GetToken(handle)));
            }
        }