IKVM.Reflection.Emit.GenericTypeParameterBuilder.AddConstraint C# (CSharp) Méthode

AddConstraint() private méthode

private AddConstraint ( Type type ) : void
type System.Type
Résultat void
        private void AddConstraint(Type type)
        {
            GenericParamConstraintTable.Record rec = new GenericParamConstraintTable.Record();
            rec.Owner = paramPseudoIndex;
            rec.Constraint = this.ModuleBuilder.GetTypeTokenForMemberRef(type);
            this.ModuleBuilder.GenericParamConstraint.AddRecord(rec);
        }