public void Generate(SourceWriter writer) { writer.WriteModifiers(this.Modifiers); writer.Write($"{this.Type} {this.Name}"); this.Parameters.Generate(writer); writer.WriteLine(); writer.StartScope(); this.Body.Generate(writer); writer.EndScope(); }