Inheritance: System.Attribute
        /// <internalonly/>
        public bool Equals(PropertyTabAttribute other) {
            if (other == (object)this) {
                return true;
            }
            if (other.TabClasses.Length != TabClasses.Length ||
                other.TabScopes.Length != TabScopes.Length) {
                return false;
            }

            for (int i = 0; i < TabClasses.Length; i++) {
                if (TabClasses[i] != other.TabClasses[i] ||
                    TabScopes[i] != other.TabScopes[i]) {
                    return false;
                }
            }
            return true;
        }
Example #2
0
		public bool Equals (PropertyTabAttribute other)
		{
			if (other != this) {
				if (other.TabClasses.Length != tabs.Length)
					return false;

				for (int i=0; i < tabs.Length; i++) {
					if (tabs[i] != other.TabClasses[i])
						return false;
				}
			}
			return true;
		}
        public bool Equals (PropertyTabAttribute other) {

          return default(bool);
        }
	public bool Equals(PropertyTabAttribute other)
			{
				if(other != null)
				{
					if(other.tabClasses.Length != tabClasses.Length)
					{
						return false;
					}
					int index;
					for(index = 0; index < tabClasses.Length; ++index)
					{
						if(other.tabClasses[index] != tabClasses[index])
						{
							return false;
						}
						if(other.tabClassNames[index] != tabClassNames[index])
						{
							return false;
						}
						if(other.tabScopes[index] != tabScopes[index])
						{
							return false;
						}
					}
					return true;
				}
				else
				{
					return false;
				}
			}