public void GetAssemblyRef(int rid, out AssemblyRefRow row) { _accessor.Position = GetTableRowOffset(MetadataTableType.AssemblyRef, rid); row.MajorVersion = (int)_accessor.ReadUInt16(); row.MinorVersion = (int)_accessor.ReadUInt16(); row.BuildNumber = (int)_accessor.ReadUInt16(); row.RevisionNumber = (int)_accessor.ReadUInt16(); row.Flags = _accessor.ReadInt32(); row.PublicKeyOrToken = ReadValue(_blobHeapOffsetSize4); row.Name = ReadValue(_stringHeapOffsetSize4); row.Locale = ReadValue(_stringHeapOffsetSize4); row.HashValue = ReadValue(_blobHeapOffsetSize4); }
void IMetadata.GetAssemblyRef(int rid, out AssemblyRefRow row) { _tables.AssemblyRefTable.Get(rid, out row); }