protected override void GenerateEvent(CodeMemberEvent e, CodeTypeDeclaration c)
{
if (!this.IsCurrentDelegate && !this.IsCurrentEnum)
{
if (e.CustomAttributes.Count > 0)
{
this.GenerateAttributes(e.CustomAttributes);
}
if (e.PrivateImplementationType == null)
{
this.OutputMemberAccessModifier(e.Attributes);
}
else
{
base.Output.Write("VIRTUAL ");
}
base.Output.Write("EVENT ");
string fqdn = e.Name;
if (e.PrivateImplementationType != null)
{
fqdn = e.PrivateImplementationType.BaseType + this.selector + fqdn;
}
this.OutputIdentifier(fqdn);
base.Output.Write(" AS ");
this.OutputType(e.Type);
base.Output.WriteLine();
}
}