private static void WriteInvalid(InvalidReference invalid, XmlWriter writer) { writer.WriteString("[" + invalid.Id + "]"); }