public GenericParameterInfo(int position, GenericParameterVariance variance, GenericParameterSpecialConstraints specialConstraints) { Position = position; Variance = variance; SpecialConstraints = specialConstraints; }
public GenericParameter(string declarerFullName, string name, GenericParameterVariance variance, IEnumerable <ITypeInstance <IType> > typeConstraints, bool hasReferenceTypeConstraint, bool hasNotNullableValueTypeConstraint, bool hasDefaultConstructorConstraint, bool isCompilerGenerated, bool declarerIsMethod) { _declarerFullName = declarerFullName; Name = name; Variance = variance; TypeInstanceConstraints = typeConstraints; HasReferenceTypeConstraint = hasReferenceTypeConstraint; HasNotNullableValueTypeConstraint = hasNotNullableValueTypeConstraint; HasDefaultConstructorConstraint = hasDefaultConstructorConstraint; IsCompilerGenerated = isCompilerGenerated; DeclarerIsMethod = declarerIsMethod; }