-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make CodeAction.NestedActions public #71327
Conversation
@@ -27,7 +27,7 @@ public abstract partial class MultipleCodeStyleOptionConfigurationTests : Abstra | |||
protected override ImmutableArray<CodeAction> MassageActions(ImmutableArray<CodeAction> actions) | |||
{ | |||
Assert.Single(actions); | |||
var nestedActionForOptionIndex = ((AbstractConfigurationActionWithNestedActions)actions[0]).NestedCodeActions[OptionIndex]; | |||
var nestedActionForOptionIndex = ((AbstractConfigurationActionWithNestedActions)actions[0]).NestedActions[OptionIndex]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
renamed property to match parameter used to actually provided nested actions.
/// nested options with less steps. To create a <see cref="CodeAction"/> with nested actions, use <see | ||
/// cref="Create(string, ImmutableArray{CodeAction}, bool)"/>. | ||
/// </summary> | ||
public virtual bool IsInlinable => false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is part and parcel of NestedActions (and is also part of the Create method).
@dibarbet ptal |
Fixes #71050