System.Xml.Serialization.SerializationSource.BaseEquals C# (CSharp) Method

BaseEquals() protected method

protected BaseEquals ( SerializationSource other ) : bool
other SerializationSource
return bool
		protected bool BaseEquals (SerializationSource other)
		{
			if (namspace != other.namspace) return false;
			if (canBeGenerated != other.canBeGenerated) return false;
			
			if (includedTypes == null)
				return other.includedTypes == null;
			
			if (other.includedTypes == null || includedTypes.Length != other.includedTypes.Length) return false;
			for (int n=0; n<includedTypes.Length; n++)
				if (!includedTypes[n].Equals (other.includedTypes[n])) return false;

			return true;
		}