public static void WriteILBody(this EventDefinition eventDefinition, IOutputWriter outputWriter) { outputWriter.WriteLine(String.Empty); outputWriter.WriteLine("{"); eventDefinition.WriteCustomAttributes(outputWriter); eventDefinition.WriteAddMethod(outputWriter); eventDefinition.WriteRemoveMethod(outputWriter); outputWriter.WriteLine($"}} // End of property {eventDefinition.FullName}"); }