Skip to content

Fix fading span for unnecessary using#59276

Merged
CyrusNajmabadi merged 6 commits intodotnet:mainfrom
CyrusNajmabadi:importFadingSpan
Feb 7, 2022
Merged

Fix fading span for unnecessary using#59276
CyrusNajmabadi merged 6 commits intodotnet:mainfrom
CyrusNajmabadi:importFadingSpan

Conversation

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor

@CyrusNajmabadi CyrusNajmabadi commented Feb 4, 2022

Fixes #1322

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner February 4, 2022 17:45
@ghost ghost added the Area-IDE label Feb 4, 2022

protected virtual Func<SyntaxNode, SyntaxToken>? GetLastTokenDelegateForContiguousSpans()
=> null;
private IEnumerable<TextSpan> GetContiguousSpans(ImmutableArray<SyntaxNode> nodes)
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a move from an extension method to the single feature that used it.

@"namespace N;
$$");
}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops. part of another fix. will break out.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The using span changes look good. Let me know when the PR is fixed up and I'll give it a final look over.

@CyrusNajmabadi CyrusNajmabadi merged commit 0e73c8c into dotnet:main Feb 7, 2022
@CyrusNajmabadi CyrusNajmabadi deleted the importFadingSpan branch February 7, 2022 15:58
@ghost ghost added this to the Next milestone Feb 7, 2022
@RikkiGibson RikkiGibson modified the milestones: Next, 17.2.P2 Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unused usings feature does not deal with trivia correctly

4 participants