Example #1
0
		public GenericParameter (string id, PEAPI.GenericParamAttributes attr, ArrayList constraints)
		{
			this.id = id;
			this.attr = attr;
			num = -1;
			constraintsList = null;
			customattrList = null;
				
			if (constraints != null)
				foreach (BaseTypeRef typeref in constraints)
					AddConstraint (typeref);
		}
Example #2
0
        public GenericParameter(string id, PEAPI.GenericParamAttributes attr, ArrayList constraints)
        {
            this.id         = id;
            this.attr       = attr;
            num             = -1;
            constraintsList = null;
            customattrList  = null;

            if (constraints != null)
            {
                foreach (BaseTypeRef typeref in constraints)
                {
                    AddConstraint(typeref);
                }
            }
        }