public override void VisitCustomAttributeRow(CustomAttributeRow row) { row.Parent = Utilities.GetMetadataToken(CodedIndex.HasCustomAttribute, ReadByIndexSize(GetCodedIndexSize(CodedIndex.HasCustomAttribute))); row.Type = Utilities.GetMetadataToken(CodedIndex.CustomAttributeType, ReadByIndexSize(GetCodedIndexSize(CodedIndex.CustomAttributeType))); row.Value = ReadByIndexSize(m_blobHeapIdxSz); }
public CustomAttributeRow CreateCustomAttributeRow(MetadataToken _parent, MetadataToken _type, uint _value) { CustomAttributeRow row = new CustomAttributeRow(); row.Parent = _parent; row.Type = _type; row.Value = _value; return(row); }
public override void VisitCustomAttributeRow(CustomAttributeRow row) { WriteMetadataToken(row.Parent, CodedIndex.HasCustomAttribute); WriteMetadataToken(row.Type, CodedIndex.CustomAttributeType); WriteBlobPointer(row.Value); }