示例#1
0
        public void JPropertyContains()
        {
            JValue    v = new JValue(1);
            JProperty p = new JProperty("TestProperty", v);

            Assert.AreEqual(true, p.Contains(v));
            Assert.AreEqual(false, p.Contains(new JValue(1)));
        }
        public void JPropertyContains()
        {
            JValue v = new JValue(1);
            var p = new JProperty("TestProperty", v);

            Assert.Equal(true, p.Contains(v));
            Assert.Equal(false, p.Contains(new JValue(1)));
        }