/// <summary> /// Reads the specified token. /// </summary> /// <param name="token">The token.</param> /// <param name="result">The result.</param> public void Read(TokenTypes token, out InterfaceImplRow result) { if ((token & TokenTypes.TableMask) != TokenTypes.InterfaceImpl) throw new ArgumentException ("Invalid token type for InterfaceImplRow.", "token"); using (BinaryReader reader = CreateReaderForToken (token)) { result = new InterfaceImplRow (ReadIndexValue (reader, TokenTypes.TypeDef), ReadIndexValue (reader, IndexType.TypeDefOrRef)); } }
void IMetadataProvider.Read(TokenTypes token, out InterfaceImplRow result) { TableHeap theap = (TableHeap)_streams[(int)HeapType.Tables]; theap.Read(token, out result); }
public InterfaceImplRowExt(IMetadataProvider metadata, InterfaceImplRow row) : base(metadata) { this.row = row; }