public void AnnotationsAreCopied() { JObject o = new JObject(); o.AddAnnotation("string!"); AssertCloneCopy(o, "string!"); JProperty p = new JProperty("Name", "Content"); p.AddAnnotation("string!"); AssertCloneCopy(p, "string!"); JArray a = new JArray(); a.AddAnnotation("string!"); AssertCloneCopy(a, "string!"); JConstructor c = new JConstructor("Test"); c.AddAnnotation("string!"); AssertCloneCopy(c, "string!"); JValue v = new JValue(true); v.AddAnnotation("string!"); AssertCloneCopy(v, "string!"); JRaw r = new JRaw("raw"); r.AddAnnotation("string!"); AssertCloneCopy(r, "string!"); }