public static IEnumerable <object> RealmValueTestValues() { yield return(new RealmValue[] { RealmValue.Null, RealmValue.Create(10, RealmValueType.Int), RealmValue.Create(true, RealmValueType.Bool), RealmValue.Create("abc", RealmValueType.String), RealmValue.Create(new byte[] { 0, 1, 2 }, RealmValueType.Data), RealmValue.Create(DateTimeOffset.FromUnixTimeSeconds(1616137641), RealmValueType.Date), RealmValue.Create(1.5f, RealmValueType.Float), RealmValue.Create(2.5d, RealmValueType.Double), RealmValue.Create(5m, RealmValueType.Decimal128), RealmValue.Create(new ObjectId("5f63e882536de46d71877979"), RealmValueType.ObjectId), RealmValue.Create(new Guid("{F2952191-A847-41C3-8362-497F92CB7D24}"), RealmValueType.Guid), RealmValue.Create(new IntPropertyObject { Int = 10 }, RealmValueType.Object) }); }