public override void FromRawData(byte [] buff, int offs, int numRows) { for (int i = numRows; --i >= 0;) { Row row = new AssemblyProcessorRow(this); row.FromRawData(buff, offs); Add(row); offs += AssemblyProcessorRow.LogicalSize; } }
/// <summary> /// Reads the specified token. /// </summary> /// <param name="token">The token.</param> /// <param name="result">The result.</param> public void Read(TokenTypes token, out AssemblyProcessorRow result) { if ((token & TokenTypes.TableMask) != TokenTypes.AssemblyProcessor) { throw new ArgumentException("Invalid token type for AssemblyProcessorRow.", "token"); } using (BinaryReader reader = CreateReaderForToken(token)) { result = new AssemblyProcessorRow(reader.ReadUInt32()); } }
public virtual void VisitAssemblyProcessorRow(AssemblyProcessorRow row) { }
void IMetadataProvider.Read(TokenTypes token, out AssemblyProcessorRow result) { TableHeap theap = (TableHeap)_streams[(int)HeapType.Tables]; theap.Read(token, out result); }
public virtual void VisitAssemblyProcessorRow(AssemblyProcessorRow row) { }