Skip to content

Commit

Permalink
another bugfix for LC0016 #166
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanMaron committed Mar 6, 2022
1 parent c4340e3 commit bf95ead
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/.vs
/bin
/ms-dynamics-smb.al-latest
/ms-dynamics-smb.al-latest*
/obj
/packages/System.Composition.AttributedModel.5.0.1/lib
/Resources/Microsoft.Dynamics.Nav.CodeAnalysis.Workspaces.dll
Expand Down
2 changes: 1 addition & 1 deletion Design/Rule0016CheckForMissingCaptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ private void CheckForMissingCaptions(SymbolAnalysisContext context)
break;
}
}
if (context.Symbol.Kind == SymbolKind.Page)
else if (context.Symbol.Kind == SymbolKind.Page)
{
if (((IPageTypeSymbol)context.Symbol).PageType != PageTypeKind.API)
if (CaptionIsMissing(context.Symbol, context))
Expand Down

0 comments on commit bf95ead

Please sign in to comment.