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

No-op SymbolSearchUpdateEngine on non-Windows OS #45764

Merged
merged 5 commits into from
Jul 8, 2020
Merged

Conversation

genlu
Copy link
Member

@genlu genlu commented Jul 7, 2020

To guard against potential misuse, since it only works on Windows.

@sharwell

=> Task.FromResult(ImmutableArray<ReferenceAssemblyWithTypeResult>.Empty);

public Task UpdateContinuouslyAsync(string sourceName, string localSettingsDirectory)
=> Task.CompletedTask;
}
Copy link
Member

Choose a reason for hiding this comment

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

separate file please.

Copy link
Member Author

@genlu genlu Jul 7, 2020

Choose a reason for hiding this comment

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

Hmm, we have 3 private types defined in this file, NoOpUpdateEngine, RemoteUpdateEngine and CallbackObject, their implementation are simple only used within this file. I'd prefer to keep them here, unless separate files is absolutely required by our code style.

genlu and others added 2 commits July 7, 2020 16:31
…actory.cs

Co-authored-by: Jason Malinowski <jason@jason-m.com>
…actory.cs

Co-authored-by: Jason Malinowski <jason@jason-m.com>
@genlu genlu merged commit 9e0406e into dotnet:master Jul 8, 2020
@ghost ghost added this to the Next milestone Jul 8, 2020
@genlu genlu deleted the noop branch July 8, 2020 23:21
@JoeRobich JoeRobich modified the milestones: Next, 16.8.P1 Jul 20, 2020
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.

5 participants