public override void Parse(CLRMetaDataParser parser) { Number = parser.ReadU16(); uint flags = parser.ReadU16(); Owner = parser.ReadTypeOrMethodDef(); Name = parser.ReadString(); Constraints = new List<CLRGenericParamConstraintRow>(); Variance = (VarianceEnum)(flags & 0x3); ReferenceTypeConstraint = ((flags & 0x4) != 0); NotNullableValueTypeConstraint = ((flags & 0x8) != 0); DefaultConstructorConstraint = ((flags & 0x10) != 0); }