Example #1
0
        /// <summary>
        /// Creates a generic type parameter
        /// </summary>
        /// <param name="name">Type parameter name</param>
        /// <returns></returns>
        public IGenericParameter GenericTypeParam(string name)
        {
            var tp = new XGenericParameter();

            tp.Name = name;
            return(tp);
        }
Example #2
0
 /// <summary>
 /// Is this generic parameter the same as the given other?
 /// </summary>
 public bool IsSame(XGenericParameter other)
 {
     return (Position == other.Position);
 }
Example #3
0
 /// <summary>
 /// Is this generic parameter the same as the given other?
 /// </summary>
 public bool IsSame(XGenericParameter other)
 {
     return(Position == other.Position);
 }