9 references to Location
Microsoft.VisualStudio.LanguageServices (7)
DocumentOutline\DocumentOutlineOptionsStorage.cs (1)
14
public static readonly Option2<SortOption> DocumentOutlineSortOrder = new("visual_studio_document_outline_sort_order", defaultValue: SortOption.
Location
);
DocumentOutline\DocumentOutlineView.xaml.cs (4)
111
if (_viewModel.SortOption == SortOption.
Location
)
154
UpdateSort(SortOption.
Location
, userSelected: true);
215
SortOption.
Location
=> FunctionId.DocumentOutline_SortByOrder,
264
SortOption.
Location
=> LocationSortDescriptions,
DocumentOutline\DocumentOutlineViewModel.cs (1)
192
} = SortOption.
Location
;
DocumentOutline\DocumentSymbolDataViewModelSorter.cs (1)
38
SortOption.
Location
=> LocationComparer.Instance,
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (2)
DocumentOutline\DocumentOutlineTests.cs (2)
66
var uiItems = DocumentOutlineViewModel.GetDocumentSymbolItemViewModels(SortOption.
Location
, model);
109
SortOption.
Location
=> sortedSymbols.OrderBy(static x => x.Data.RangeSpan.Start),