public void Can_serialize_type_with_indexer() { var dto = new HasIndex { Id = 1 }; Serialize(dto); }
public override int GetHashCode() { unchecked { var hashCode = JavaScript != null?JavaScript.GetHashCode() : 0; hashCode = (hashCode * 397) ^ (Locator != null ? Locator.GetHashCode() : 0); hashCode = (hashCode * 397) ^ HasIndex.GetHashCode(); hashCode = (hashCode * 397) ^ (Element != null ? Element.GetHashCode() : 0); return(hashCode); } }