From 6dffd27218e014bd180751fac7791d9302738b37 Mon Sep 17 00:00:00 2001 From: Gabriela Trutan Date: Tue, 17 Dec 2024 10:50:47 +0100 Subject: [PATCH] SLVS-1712 Fix QG caused by "parameter being captured into the state of the enclosing type and its value is also used to initialize a field" (#5902) --- .../UI/ManageConnections/ManageConnectionsViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ConnectedMode/UI/ManageConnections/ManageConnectionsViewModel.cs b/src/ConnectedMode/UI/ManageConnections/ManageConnectionsViewModel.cs index 9d980beb6..15e7a1520 100644 --- a/src/ConnectedMode/UI/ManageConnections/ManageConnectionsViewModel.cs +++ b/src/ConnectedMode/UI/ManageConnections/ManageConnectionsViewModel.cs @@ -171,7 +171,7 @@ internal bool RemoveConnectionViewModel(List referencedBindingKeys, Conn private bool DeleteBindings(List connectionReferences) { - var currentSolutionName = connectedModeBindingServices.SolutionInfoProvider.GetSolutionName(); + var currentSolutionName = ConnectedModeBindingServices.SolutionInfoProvider.GetSolutionName(); foreach (var connectionReference in connectionReferences) { var bindingDeleted = currentSolutionName == connectionReference ? ConnectedModeBindingServices.BindingController.Unbind(connectionReference) : ConnectedModeBindingServices.SolutionBindingRepository.DeleteBinding(connectionReference);