Implemented Equals and GetHashCode in FieldBase.cs.