File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
EditorFeatures/Core/Implementation/Suggestions
Workspaces/Core/Portable/CodeActions Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -220,6 +220,7 @@ private SuggestedActionSet InlineActions(SuggestedActionSet actionSet)
220220 }
221221
222222 newActions . AddRange ( childActionSets [ 0 ] . Actions ) ;
223+ continue ;
223224 }
224225
225226 newActions . Add ( action ) ;
Original file line number Diff line number Diff line change @@ -331,9 +331,9 @@ protected override Task<Document> GetChangedDocumentAsync(CancellationToken canc
331331 return Task . FromResult < Document > ( null ) ;
332332 }
333333
334- private static string ComputeEquivalenceKey ( IEnumerable < CodeAction > nestedActions )
334+ private static string ComputeEquivalenceKey ( ImmutableArray < CodeAction > nestedActions )
335335 {
336- if ( nestedActions == null )
336+ if ( nestedActions . IsDefault )
337337 {
338338 return null ;
339339 }
@@ -343,7 +343,7 @@ private static string ComputeEquivalenceKey(IEnumerable<CodeAction> nestedAction
343343 {
344344 foreach ( var action in nestedActions )
345345 {
346- equivalenceKey . Append ( action . EquivalenceKey ?? action . GetHashCode ( ) . ToString ( ) + ";" ) ;
346+ equivalenceKey . Append ( ( action . EquivalenceKey ?? action . GetHashCode ( ) . ToString ( ) ) + ";" ) ;
347347 }
348348
349349 return equivalenceKey . Length > 0 ? equivalenceKey . ToString ( ) : null ;
You can’t perform that action at this time.
0 commit comments