1 write to Data
Microsoft.VisualStudio.LanguageServices (1)
DocumentOutline\DocumentSymbolDataViewModel.cs (1)
50Data = data;
28 references to Data
Microsoft.VisualStudio.LanguageServices (28)
DocumentOutline\DocumentOutlineView.xaml.cs (11)
242$"{nameof(DocumentSymbolDataViewModel.Data)}.{nameof(DocumentSymbolDataViewModel.Data.Name)}", 246$"{nameof(DocumentSymbolDataViewModel.Data)}.{nameof(DocumentSymbolDataViewModel.Data.RangeSpan)}.{nameof(DocumentSymbolDataViewModel.Data.RangeSpan.Start)}.{nameof(DocumentSymbolDataViewModel.Data.RangeSpan.Start.Position)}", 251$"{nameof(DocumentSymbolDataViewModel.Data)}.{nameof(DocumentSymbolDataViewModel.Data.SymbolKind)}", 254$"{nameof(DocumentSymbolDataViewModel.Data)}.{nameof(DocumentSymbolDataViewModel.Data.Name)}", 302symbolModel.Data.SelectionRangeSpan.TranslateTo(textView.TextSnapshot, SpanTrackingMode.EdgeInclusive).Start,
DocumentOutline\DocumentOutlineViewModel.cs (3)
383if (oldState.TryGetValue(item.Data.SelectionRangeSpan.Span, out var oldValues) && oldValues.isSelected) 401var mapped = item.Data.SelectionRangeSpan.TranslateTo(newSnapshot, SpanTrackingMode.EdgeInclusive); 414if (oldState.TryGetValue(item.Data.SelectionRangeSpan.Span, out var oldValues))
DocumentOutline\DocumentOutlineViewModel.IntervalIntrospector.cs (1)
20=> value.Data.RangeSpan.Span.ToTextSpan();
DocumentOutline\DocumentSymbolDataViewModel.cs (5)
29public ImageMoniker ImageMoniker => Data.Glyph.GetImageMoniker(); 91var translatedRangeSpan = this.Data.RangeSpan.TranslateTo(other.Data.RangeSpan.Snapshot, SpanTrackingMode.EdgeInclusive); 92return translatedRangeSpan == other.Data.RangeSpan; 96=> Data.GetHashCode();
DocumentOutline\DocumentSymbolDataViewModelSorter.cs (8)
53=> StringComparer.OrdinalIgnoreCase.Compare(x.Data.Name, y.Data.Name); 61=> x.Data.RangeSpan.Start - y.Data.RangeSpan.Start; 69=> x.Data.SymbolKind == y.Data.SymbolKind 71: x.Data.SymbolKind - y.Data.SymbolKind;