Skip to content

Commit

Permalink
Fix name issue (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
glennawatson authored Feb 24, 2020
1 parent 18a86a8 commit 47ae63f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ private static ClassDeclarationSyntax GenerateEventWrapperClass(ITypeDefinition
var members = new List<MemberDeclarationSyntax> { GenerateEventWrapperField(typeDefinition), GenerateEventWrapperClassConstructor(typeDefinition, baseTypeDefinition != null) };
members.AddRange(events.OrderBy(x => x.Name).Select(x => GenerateEventWrapperObservable(x, DataFieldName)).Where(x => x != null).Select(x => x!));

var classDeclaration = ClassDeclaration(typeDefinition.Name + "Events")
var classDeclaration = ClassDeclaration("Rx" + typeDefinition.Name + "Events")
.WithModifiers(TokenList(Token(SyntaxKind.PublicKeyword)))
.WithMembers(List(members))
.WithObsoleteAttribute(typeDefinition)
Expand Down

0 comments on commit 47ae63f

Please sign in to comment.