Skip to content

Commit

Permalink
fix: Make base classes use the 'Rx' prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
glennawatson committed Feb 24, 2020
1 parent 5255864 commit 6589c36
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private static ClassDeclarationSyntax GenerateEventWrapperClass(ITypeDefinition

if (baseTypeDefinition != null)
{
classDeclaration = classDeclaration.WithBaseList(BaseList(SingletonSeparatedList<BaseTypeSyntax>(SimpleBaseType(IdentifierName($"global::{baseTypeDefinition.Namespace}.{baseTypeDefinition.Name}Events")))));
classDeclaration = classDeclaration.WithBaseList(BaseList(SingletonSeparatedList<BaseTypeSyntax>(SimpleBaseType(IdentifierName($"global::{baseTypeDefinition.Namespace}.Rx{baseTypeDefinition.Name}Events")))));
}

return classDeclaration;
Expand Down

0 comments on commit 6589c36

Please sign in to comment.