public void Serialize(IOrderedSerializer serializer) { if (!serializer.IsWriter) { Assert.IsTrue(serializer.Version == this.Version); } serializer.Add(ref y); serializer.Add(ref hello); serializer.AddClass(ref self); }
public void Serialize(IOrderedSerializer serializer) { serializer.Add(ref x); }