Skip to content
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

Simplify IStreamingFindUsagesPresenter.StartSearch API #72343

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

tmat
Copy link
Member

@tmat tmat commented Feb 29, 2024

No description provided.

@tmat tmat requested a review from a team as a code owner February 29, 2024 19:02
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Feb 29, 2024
@@ -21,7 +21,7 @@ internal sealed class VSTypeScriptStreamingFindUsagesPresenterAccessor(IStreamin
public (IVSTypeScriptFindUsagesContext context, CancellationToken cancellationToken) StartSearch(
string title, bool supportsReferences)
{
var (context, cancellationToken) = _underlyingObject.StartSearch(title, supportsReferences);
var (context, cancellationToken) = _underlyingObject.StartSearch(title, new StreamingFindUsagesPresenterOptions() { SupportsReferences = supportsReferences });
Copy link
Member

Choose a reason for hiding this comment

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

nit. i think these are good places for implicit object creation exprs.

@tmat tmat merged commit 9884888 into dotnet:main Mar 1, 2024
27 checks passed
@tmat tmat deleted the StartSearch branch March 1, 2024 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants