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; }
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); }
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))); } }