/// <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); }
/// <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); }
public DocArrayType(IDocResolvedTypeRef componentType) { this.componentType = componentType; }
/// <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)); }
public DocArrayType(IDocResolvedTypeRef componentType) { this.componentType = componentType; }
/// <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)); }
/// <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)); }