private static void WriteType(this MamlWriter writer, Context context, XmlSchemaSimpleType type) { var typeNameWriter = new AttributeTypeNameWriter(writer, context); typeNameWriter.Traverse(type); }