示例#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);
		}
示例#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);
                }
            }
        }