Esempio n. 1
0
        public MethodSpecRow CreateMethodSpecRow(MetadataToken _method, uint _instantiation)
        {
            MethodSpecRow row = new MethodSpecRow();

            row.Method        = _method;
            row.Instantiation = _instantiation;
            return(row);
        }
Esempio n. 2
0
 public override void VisitMethodSpecRow(MethodSpecRow row)
 {
     row.Method = Utilities.GetMetadataToken(CodedIndex.MethodDefOrRef,
                                             ReadByIndexSize(GetCodedIndexSize(CodedIndex.MethodDefOrRef)));
     row.Instantiation = ReadByIndexSize(m_blobHeapIdxSz);
 }
Esempio n. 3
0
 public override void VisitMethodSpecRow(MethodSpecRow row)
 {
     WriteMetadataToken(row.Method, CodedIndex.MethodDefOrRef);
     WriteBlobPointer(row.Instantiation);
 }