Ejemplo n.º 1
0
        /// <summary>
        /// Is this provider the same as the given other provider?
        /// </summary>
        bool IXGenericParameterProvider.IsSame(IXGenericParameterProvider other)
        {
            var otherType = other as XTypeReference;

            return((otherType != null) && (FullName == otherType.FullName)); // Do not use IsSame because of endless recursion
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Is this provider the same as the given other provider?
 /// </summary>
 bool IXGenericParameterProvider.IsSame(IXGenericParameterProvider other)
 {
     var otherType = other as XTypeReference;
     return (otherType != null) && (FullName == otherType.FullName); // Do not use IsSame because of endless recursion
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Default ctor
 /// </summary>
 internal SimpleXGenericParameter(IXGenericParameterProvider owner, int position)
     : base(owner.Module)
 {
     this.owner = owner;
     this.position = position;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Default ctor
 /// </summary>
 internal SimpleXGenericParameter(IXGenericParameterProvider owner, int position)
     : base(owner.Module)
 {
     this.owner    = owner;
     this.position = position;
 }