diff --git a/src/Tools/ExternalAccess/OmniSharp/Internal/PickMembers/OmniSharpPickMembersService.cs b/src/Tools/ExternalAccess/OmniSharp/Internal/PickMembers/OmniSharpPickMembersService.cs index eb509d9ee8ddc..61b8fab92f0e1 100644 --- a/src/Tools/ExternalAccess/OmniSharp/Internal/PickMembers/OmniSharpPickMembersService.cs +++ b/src/Tools/ExternalAccess/OmniSharp/Internal/PickMembers/OmniSharpPickMembersService.cs @@ -24,10 +24,10 @@ public OmniSharpPickMembersService(IOmniSharpPickMembersService omniSharpPickMem _omniSharpPickMembersService = omniSharpPickMembersService; } - public PickMembersResult PickMembers(string title, ImmutableArray members, ImmutableArray options = default, bool selectAll = true) + public PickMembersResult PickMembers(string title, ImmutableArray members, ImmutableArray options = default) { - var result = _omniSharpPickMembersService.PickMembers(title, members, options.SelectAsArray(o => new OmniSharpPickMembersOption(o)), selectAll); - return new(result.Members, result.Options.SelectAsArray(o => o.PickMembersOptionInternal), result.SelectedAll); + var result = _omniSharpPickMembersService.PickMembers(title, members, options.SelectAsArray(o => new OmniSharpPickMembersOption(o)), selectAll: true); + return new(result.Members, result.Options.SelectAsArray(o => o.PickMembersOptionInternal)); } } }