public int var_6a()
{
bool standalone = (bool)CurVariation.Param;
XmlWriterSettings ws = new XmlWriterSettings();
ws.ConformanceLevel = ConformanceLevel.Auto;
XmlWriter w = CreateWriter(ws);
w.WriteStartDocument(standalone);
w.WriteStartElement("a");
w.Dispose();
string enc = (WriterType == WriterType.UnicodeWriter || WriterType == WriterType.UnicodeWriterIndent) ? "16" : "8";
string param = (standalone) ? "yes" : "no";
string exp = (WriterType == WriterType.UTF8WriterIndent || WriterType == WriterType.UnicodeWriterIndent) ?
String.Format("<?xml version=\"1.0\" encoding=\"utf-{0}\" standalone=\"{1}\"?>" + nl + "<a />", enc, param) :
String.Format("<?xml version=\"1.0\" encoding=\"utf-{0}\" standalone=\"{1}\"?><a />", enc, param);
return (CompareString(exp)) ? TEST_PASS : TEST_FAIL;
}