4 writes to IsExpanded
Microsoft.VisualStudio.LanguageServices (4)
DocumentOutline\DocumentOutlineViewModel.cs (3)
256model.IsExpanded = shouldExpand; 381item.IsExpanded = false; 416item.IsExpanded = oldValues.isExpanded;
DocumentOutline\DocumentOutlineViewModel_Utilities.cs (1)
196item.IsExpanded = expand;
6 references to IsExpanded
Microsoft.VisualStudio.LanguageServices (6)
DocumentOutline\DocumentOutlineViewModel.cs (2)
377if (oldItems.Length > 0 && oldItems.All(static i => !i.IsExpanded)) 402oldState[mapped.Span] = (item.IsExpanded, item.IsSelected);
DocumentOutline\DocumentOutlineViewModel.DocumentOutlineViewState.cs (1)
34/// should be as the only mutable state is <see cref="DocumentSymbolDataViewModel.IsExpanded"/>/<see
DocumentOutline\DocumentSymbolDataViewModel.cs (3)
17/// cref="IsExpanded"/> and <see cref="IsSelected"/>. It is expected that these can be modified from any thread with 54private static readonly PropertyChangedEventArgs _isExpandedPropertyChangedEventArgs = new PropertyChangedEventArgs(nameof(IsExpanded)); 60nameof(IsExpanded) => _isExpandedPropertyChangedEventArgs,