Skip to content

Commit

Permalink
Update CompletionProvider.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
LPeter1997 committed Oct 26, 2024
1 parent 2d5ad15 commit 0cf7da6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ protected static bool IsAppropriateForContext(ISymbol symbol, CompletionContext
or SymbolKind.FunctionGroup
or SymbolKind.Local
or SymbolKind.Parameter
or SymbolKind.Field => context.HasFlag(CompletionContext.Expression),
or SymbolKind.Field
or SymbolKind.Property => context.HasFlag(CompletionContext.Expression),

SymbolKind.Alias => IsAppropriateForContext(((Internal.Symbols.AliasSymbol)symbol).FullResolution, context),

Expand Down

0 comments on commit 0cf7da6

Please sign in to comment.