Skip to content

Commit 1bd4282

Browse files
committed
Record structs are not recognised by CodeNav #149
1 parent 7bdbcb2 commit 1bd4282

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CodeNav.Shared/Mappers/SyntaxMapper.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ public static class SyntaxMapper
237237
return NamespaceMapper.MapNamespace(member as NamespaceDeclarationSyntax, control, semanticModel, tree);
238238
#endif
239239
case SyntaxKind.RecordDeclaration:
240+
case SyntaxKind.RecordStructDeclaration:
240241
return RecordMapper.MapRecord(member as RecordDeclarationSyntax, control, semanticModel);
241242
case SyntaxKind.ConstructorDeclaration:
242243
return MethodMapper.MapConstructor(member as ConstructorDeclarationSyntax, control, semanticModel);

0 commit comments

Comments
 (0)