1 write to Data
Microsoft.VisualStudio.LanguageServices (1)
DocumentOutline\DocumentSymbolDataViewModel.cs (1)
50
Data
= 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)}",
302
symbolModel.
Data
.SelectionRangeSpan.TranslateTo(textView.TextSnapshot, SpanTrackingMode.EdgeInclusive).Start,
DocumentOutline\DocumentOutlineViewModel.cs (3)
383
if (oldState.TryGetValue(item.
Data
.SelectionRangeSpan.Span, out var oldValues) && oldValues.isSelected)
401
var mapped = item.
Data
.SelectionRangeSpan.TranslateTo(newSnapshot, SpanTrackingMode.EdgeInclusive);
414
if (oldState.TryGetValue(item.
Data
.SelectionRangeSpan.Span, out var oldValues))
DocumentOutline\DocumentOutlineViewModel.IntervalIntrospector.cs (1)
20
=> value.
Data
.RangeSpan.Span.ToTextSpan();
DocumentOutline\DocumentSymbolDataViewModel.cs (5)
29
public ImageMoniker ImageMoniker =>
Data
.Glyph.GetImageMoniker();
91
var translatedRangeSpan = this.
Data
.RangeSpan.TranslateTo(other.
Data
.RangeSpan.Snapshot, SpanTrackingMode.EdgeInclusive);
92
return 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;