Esempio n. 1
0
        public FieldMarshalRow CreateFieldMarshalRow(MetadataToken _parent, uint _nativeType)
        {
            FieldMarshalRow row = new FieldMarshalRow();

            row.Parent     = _parent;
            row.NativeType = _nativeType;
            return(row);
        }
Esempio n. 2
0
 public override void VisitFieldMarshalRow(FieldMarshalRow row)
 {
     row.Parent = Utilities.GetMetadataToken(CodedIndex.HasFieldMarshal,
                                             ReadByIndexSize(GetCodedIndexSize(CodedIndex.HasFieldMarshal)));
     row.NativeType = ReadByIndexSize(m_blobHeapIdxSz);
 }
Esempio n. 3
0
 public override void VisitFieldMarshalRow(FieldMarshalRow row)
 {
     WriteMetadataToken(row.Parent, CodedIndex.HasFieldMarshal);
     WriteBlobPointer(row.NativeType);
 }