-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Unify the pattern used to run a feature in OOP #40150
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
Conversation
src/Features/Core/Portable/AddImport/SymbolReferenceFinder_PackageAssemblySearch.cs
Outdated
Show resolved
Hide resolved
src/Features/Core/Portable/NavigateTo/AbstractNavigateToSearchService.cs
Outdated
Show resolved
Hide resolved
CyrusNajmabadi
left a comment
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.
comment
CyrusNajmabadi
left a comment
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.
comment.
|
@dotnet/roslyn-ide PTAL |
src/Workspaces/Core/Portable/FindSymbols/SymbolFinder_FindReferences_Current.cs
Outdated
Show resolved
Hide resolved
ryzngard
left a comment
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.
Looks reasonable to me
...table/Completion/Providers/ImportCompletionProvider/ExtensionMethodImportCompletionHelper.cs
Outdated
Show resolved
Hide resolved
CyrusNajmabadi
left a comment
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.
c
|
Regardless, we should likely take the conversation about enforced styles to some other more suitable location. |
src/EditorFeatures/Core.Wpf/SymbolSearch/SymbolSearchUpdateEngineFactory.cs
Outdated
Show resolved
Hide resolved
d656d0d to
492a88d
Compare
sharwell
left a comment
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.
Done with 29/43 files
src/Features/Core/Portable/DesignerAttributes/AbstractDesignerAttributeService.cs
Outdated
Show resolved
Hide resolved
src/Features/Core/Portable/DesignerAttributes/AbstractDesignerAttributeService.cs
Outdated
Show resolved
Hide resolved
src/VisualStudio/Core/Def/Implementation/Remote/RemoteHostCrashInfoBar.cs
Outdated
Show resolved
Hide resolved
src/VisualStudio/Core/Def/Implementation/Remote/ServiceHubRemoteHostClient.ConnectionManager.cs
Outdated
Show resolved
Hide resolved
...dio/Core/Def/Implementation/Remote/RemoteHostClientServiceFactory.RemoteHostClientService.cs
Outdated
Show resolved
Hide resolved
src/VisualStudio/Core/Def/Implementation/Remote/ServiceHubRemoteHostClient.Connections.cs
Outdated
Show resolved
Hide resolved
src/VisualStudio/Core/Def/Implementation/Remote/ServiceHubRemoteHostClient.Connections.cs
Outdated
Show resolved
Hide resolved
src/VisualStudio/Core/Def/Implementation/Remote/ServiceHubRemoteHostClient.Connections.cs
Outdated
Show resolved
Hide resolved
src/VisualStudio/Core/Def/Implementation/Remote/ServiceHubRemoteHostClient.cs
Outdated
Show resolved
Hide resolved
src/Features/Core/Portable/AddImport/SymbolReferenceFinder_PackageAssemblySearch.cs
Outdated
Show resolved
Hide resolved
src/Features/Core/Portable/TodoComments/AbstractTodoCommentService.cs
Outdated
Show resolved
Hide resolved
src/VisualStudio/Core/Def/Implementation/CodeLens/RemoteCodeLensReferencesService.cs
Outdated
Show resolved
Hide resolved
src/VisualStudio/Core/Def/Implementation/Remote/JsonRpcClient.cs
Outdated
Show resolved
Hide resolved
src/VisualStudio/Core/Def/Implementation/Remote/ServiceHubRemoteHostClient.Connections.cs
Outdated
Show resolved
Hide resolved
src/VisualStudio/Core/Def/Implementation/Remote/ServiceHubRemoteHostClient.cs
Outdated
Show resolved
Hide resolved
src/Workspaces/Core/Portable/FindSymbols/Declarations/DeclarationFinder_AllDeclarations.cs
Outdated
Show resolved
Hide resolved
src/Workspaces/Core/Portable/Remote/RemoteHostSessionHelpers.cs
Outdated
Show resolved
Hide resolved
|
Small concerns. Nothing major though. |
|
All checks have passed. Overriding to merge. |
Unifies the pattern used to run a feature in OOP and applies nullable annotations.
This reflects the fact that the remote call may fail and return
null, which previously wasn't consistently handled across all features. If it happens we should fall back to running in-proc.Also reduces the amount of overloads and turns extension methods used for remote invocation into instance methods defined directly on
RemoteHostClienttype.