Skip to content

Commit aa7ad54

Browse files
Fix: Implement SuggestedActionsChanged as no-op event property
The ISuggestedActionsSource interface requires the SuggestedActionsChanged event. This implementation uses a pull model (VS calls HasSuggestedActionsAsync/GetSuggestedActions on-demand) rather than push model (raising events). Implemented as a no-op property to satisfy the interface contract while suppressing code analysis warnings. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
1 parent bdb701d commit aa7ad54

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

ast-visual-studio-extension/CxExtension/CxAssist/Core/Markers/CxAssistSuggestedActionsSource.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ public CxAssistSuggestedActionsSource(ITextView textView, ITextBuffer textBuffer
2525
_textBuffer = textBuffer ?? throw new ArgumentNullException(nameof(textBuffer));
2626
}
2727

28+
public event EventHandler<EventArgs> SuggestedActionsChanged
29+
{
30+
add { }
31+
remove { }
32+
}
33+
2834
public void Dispose()
2935
{
3036
}

0 commit comments

Comments
 (0)