CFGLib.Parsers.Earley.Pointer.Equals C# (CSharp) Method

Equals() public method

public Equals ( Object other ) : bool
other Object
return bool
		public override bool Equals(Object other) {
			if (other == null) {
				return false;
			}
			var localOther = other as Pointer;
			if (localOther == null) {
				return false;
			}

			if (Label != localOther.Label) {
				return false;
			}
			if (Item != localOther.Item) {
				return false;
			}

			return true;
		}
	}