private static void AddTags(XmlTextWriter xtw)
{
var tags = new List<string>();
if (Args.MarkAsCustom)
tags.Add("custom");
if (Args.MarkAsStatic)
tags.Add("static");
if (tags.Count == 0)
return;
xtw.WriteElementString("tags", String.Join(",", tags));
}