private IEnumerable <CilModuleReference> GetModuleReferences() { for (int rid = 1, rowCount = _readers.MdReader.GetTableRowCount(TableIndex.ModuleRef); rid <= rowCount; rid++) { var handle = MetadataTokens.ModuleReferenceHandle(rid); var moduleReference = _readers.MdReader.GetModuleReference(handle); int token = MetadataTokens.GetToken(handle); yield return(CilModuleReference.Create(moduleReference, ref _readers, token)); } }