1 write to Symbol
Microsoft.VisualStudio.LanguageServices (1)
Utilities\SymbolViewModel.cs (1)
33
Symbol
= symbol;
24 references to Symbol
Microsoft.VisualStudio.LanguageServices (24)
CommonControls\MemberSelectionViewModel.cs (7)
37
_symbolToMemberViewMap = members.ToImmutableDictionary(memberViewModel => memberViewModel.
Symbol
);
94
=> SelectMembers(Members.WhereAsArray(v => v.
Symbol
.DeclaredAccessibility == Accessibility.Public));
119
_symbolToDependentsMap[member.
Symbol
].Wait(context.UserCancellationToken);
137
(member: memberViewModel.
Symbol
,
142
var fields = Members.WhereAsArray(memberViewModel => memberViewModel.
Symbol
.IsKind(SymbolKind.Field));
144
WhereAsArray(memberViewModel => !memberViewModel.
Symbol
.IsKind(SymbolKind.Field) && !memberViewModel.
Symbol
.IsAbstract);
ExtractClass\VisualStudioExtractClassOptionsService.cs (1)
104
viewModel.MemberSelectionViewModel.CheckedMembers.SelectAsArray(m => new ExtractClassMemberAnalysisResult(m.
Symbol
, m.MakeAbstract)));
ExtractInterface\VisualStudioExtractInterfaceOptionsService.cs (1)
77
var includedMembers = viewModel.MemberContainers.Where(c => c.IsChecked).Select(c => c.
Symbol
);
MoveStaticMembers\StaticMemberSelectionViewModel.cs (2)
29
_symbolToMemberViewMap = members.ToImmutableDictionary(memberViewModel => memberViewModel.
Symbol
);
61
_symbolToDependentsMap[member.
Symbol
].Wait(context.UserCancellationToken);
MoveStaticMembers\VisualStudioMoveStaticMembersOptionsService.cs (1)
66
var selectedMembers = viewModel.MemberSelectionViewModel.CheckedMembers.SelectAsArray(vm => vm.
Symbol
);
PickMembers\VisualStudioPickMembersService.cs (1)
41
[.. viewModel.MemberContainers.Where(c => c.IsChecked).Select(c => c.
Symbol
)],
PullMemberUp\MainDialog\BaseTypeTreeNodeViewModel.cs (2)
34
public string Namespace => string.Format(ServicesVSResources.Namespace_0,
Symbol
.ContainingNamespace?.ToDisplayString() ?? "global");
55
var currentTypeSymbol = currentTreeNode.
Symbol
;
PullMemberUp\MainDialog\PullMemberUpDialogViewModel.cs (2)
73
MemberSelectionViewModel.UpdateMembersBasedOnDestinationKind(_selectedDestination.
Symbol
.TypeKind);
83
SelectedDestination.
Symbol
,
Utilities\MemberSymbolViewModel.cs (4)
20
public string MakeAbstractCheckBoxAutomationText => string.Format(ServicesVSResources.Make_0_abstract,
Symbol
.Name);
27
public Visibility MakeAbstractVisibility =>
Symbol
.Kind == SymbolKind.Field ||
Symbol
.IsAbstract ? Visibility.Hidden : Visibility.Visible;
53
public string Accessibility =>
Symbol
.DeclaredAccessibility.ToString();
Utilities\SymbolViewModel.cs (3)
45
public string SymbolName =>
Symbol
.ToDisplayString(s_symbolDisplayFormat);
47
public ImageSource Glyph =>
Symbol
.GetGlyph().GetImageSource(_glyphService);
49
public string SymbolAutomationText =>
Symbol
.ToDisplayString(s_symbolAutomationFormat);