private static void XmlWriteTypeAndContent( object obj, StringBuilder buffer, int depth) { XmlWrite(obj, obj + "", buffer, depth); }