private void Write(Class @class) { WriteDescription(@class.Description); Write(@class.Attributes); _("{0}{1}partial class {2}{3}", @class.AccessModifier, @class.AbstractModifier, @class.Identifier.Name, GetInheritenceString(@class.Interfaces, @class.BaseClass)); using (_builder.IndentBraced) { Write(@class.Fields); Write(@class.Properties); Write(@class.Constructors); Write(@class.Methods); Write(@class.Indexers); Write(@class.NestedClasses); } }