protected override void GenerateTypeEnd (CodeTypeDeclaration declaration) { if (!IsCurrentDelegate) { --Indent; Output.WriteLine ("}"); } }