Esempio n. 1
0
 /// <summary>
 /// Is this typeref equal to other?
 /// </summary>
 public bool Equals(IDocResolvedTypeRef other)
 {
     var otherArray = other as DocArrayType;
     return (otherArray != null) && componentType.Equals(otherArray.componentType);
 }
Esempio n. 2
0
 /// <summary>
 /// Is this typeref equal to other?
 /// </summary>
 public bool Equals(IDocResolvedTypeRef other)
 {
     var otherPrimitive = other as DocPrimitiveType;
     return (otherPrimitive != null) && name.Equals(otherPrimitive.name);
 }
Esempio n. 3
0
 public DocArrayType(IDocResolvedTypeRef componentType)
 {
     this.componentType = componentType;
 }
Esempio n. 4
0
        /// <summary>
        /// Is this typeref equal to other?
        /// </summary>
        public bool Equals(IDocResolvedTypeRef other)
        {
            var otherArray = other as DocArrayType;

            return((otherArray != null) && componentType.Equals(otherArray.componentType));
        }
Esempio n. 5
0
 public DocArrayType(IDocResolvedTypeRef componentType)
 {
     this.componentType = componentType;
 }
Esempio n. 6
0
        /// <summary>
        /// Is this typeref equal to other?
        /// </summary>
        bool IDocResolvedTypeRef.Equals(IDocResolvedTypeRef other)
        {
            var otherClass = other as DocClass;

            return((otherClass != null) && (otherClass.Name == Name) && (otherClass.Namespace == Namespace));
        }
Esempio n. 7
0
        /// <summary>
        /// Is this typeref equal to other?
        /// </summary>
        public bool Equals(IDocResolvedTypeRef other)
        {
            var otherPrimitive = other as DocPrimitiveType;

            return((otherPrimitive != null) && name.Equals(otherPrimitive.name));
        }