public void NativeString512ToNativeString4096Works(String a) { var b = new NativeString512(a); var c = new NativeString4096(ref b); String d = c.ToString(); Assert.AreEqual(a, d); }
public void NativeString4096ToStringWorks(String a) { NativeString4096 aa = new NativeString4096(a); Assert.AreEqual(aa.ToString(), a); }
public VisitStatus Visit <TProperty, TContainer>(IPropertyVisitor visitor, TProperty property, ref TContainer container, ref NativeString4096 value, ref ChangeTracker changeTracker) where TProperty : IProperty <TContainer, NativeString4096> { Append(property, value.ToString(), (builder, v) => { builder.Append(EncodeJsonString(v.ToString())); }); return(VisitStatus.Override); }