Skip to content

Commit

Permalink
Record structs are not recognised by CodeNav #149
Browse files Browse the repository at this point in the history
  • Loading branch information
sboulema committed Mar 4, 2024
1 parent 7bdbcb2 commit 1bd4282
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CodeNav.Shared/Mappers/SyntaxMapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ public static class SyntaxMapper
return NamespaceMapper.MapNamespace(member as NamespaceDeclarationSyntax, control, semanticModel, tree);
#endif
case SyntaxKind.RecordDeclaration:
case SyntaxKind.RecordStructDeclaration:
return RecordMapper.MapRecord(member as RecordDeclarationSyntax, control, semanticModel);
case SyntaxKind.ConstructorDeclaration:
return MethodMapper.MapConstructor(member as ConstructorDeclarationSyntax, control, semanticModel);
Expand Down

0 comments on commit 1bd4282

Please sign in to comment.