internal static MemberDeclarationSyntax GeneratePropertyChangedEvent() { EventFieldDeclarationSyntax decl = (EventFieldDeclarationSyntax)ParseMember("public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;"); return(decl.ReplaceNode(decl.Declaration.Type, decl.Declaration.Type.WithAdditionalAnnotations(Simplifier.Annotation))); }