Exemplo n.º 1
0
        public GenericParamConstraintRow CreateGenericParamConstraintRow(uint _owner, MetadataToken _constraint)
        {
            GenericParamConstraintRow row = new GenericParamConstraintRow();

            row.Owner      = _owner;
            row.Constraint = _constraint;
            return(row);
        }
Exemplo n.º 2
0
 public override void VisitGenericParamConstraintRow(GenericParamConstraintRow row)
 {
     row.Owner      = ReadByIndexSize(GetIndexSize(GenericParamTable.RId));
     row.Constraint = Utilities.GetMetadataToken(CodedIndex.TypeDefOrRef,
                                                 ReadByIndexSize(GetCodedIndexSize(CodedIndex.TypeDefOrRef)));
 }
Exemplo n.º 3
0
 public override void VisitGenericParamConstraintRow(GenericParamConstraintRow row)
 {
     WriteTablePointer(row.Owner, GenericParamTable.RId);
     WriteMetadataToken(row.Constraint, CodedIndex.TypeDefOrRef);
 }