Skip to content

Commit

Permalink
SLVS-1712 Fix QG caused by "parameter being captured into the state o…
Browse files Browse the repository at this point in the history
…f the enclosing type and its value is also used to initialize a field" (#5902)
  • Loading branch information
gabriela-trutan-sonarsource authored Dec 17, 2024
1 parent 9a95f71 commit 6dffd27
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ internal bool RemoveConnectionViewModel(List<string> referencedBindingKeys, Conn

private bool DeleteBindings(List<string> 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);
Expand Down

0 comments on commit 6dffd27

Please sign in to comment.