private static IEnumerable <ITypeDefinition> GetPublicTypesWithEvents(ICompilation compilation)
 {
     return(compilation.GetPublicTypesWithNotStaticEvents());
 }