40 references to RoslynGraphProperties
Microsoft.VisualStudio.LanguageServices (40)
Progression\GraphBuilder.cs (22)
117var projectId = (ProjectId)inputNode[RoslynGraphProperties.ContextProjectId]; 132var symbolId = (SymbolKey?)inputNode[RoslynGraphProperties.SymbolId]; 139var documentId = (DocumentId)inputNode[RoslynGraphProperties.ContextDocumentId]; 222node[RoslynGraphProperties.SymbolId] = (SymbolKey?)symbol.GetSymbolKey(cancellationToken); 223node[RoslynGraphProperties.ContextProjectId] = GetContextProjectId(contextProject, symbol); 224node[RoslynGraphProperties.ExplicitInterfaceImplementations] = symbol.ExplicitInterfaceImplementations().Select(s => s.GetSymbolKey()).ToList(); 225node[RoslynGraphProperties.DeclaredAccessibility] = symbol.DeclaredAccessibility; 226node[RoslynGraphProperties.SymbolModifiers] = symbol.GetSymbolModifiers(); 227node[RoslynGraphProperties.SymbolKind] = symbol.Kind; 230node[RoslynGraphProperties.ContextDocumentId] = contextDocument.Id; 348node[RoslynGraphProperties.Description] = progressionLanguageService.GetDescriptionForSymbol(symbol, includeContainingSymbol: false); 349node[RoslynGraphProperties.DescriptionWithContainingSymbol] = progressionLanguageService.GetDescriptionForSymbol(symbol, includeContainingSymbol: true); 351node[RoslynGraphProperties.FormattedLabelWithoutContainingSymbol] = progressionLanguageService.GetLabelForSymbol(symbol, includeContainingSymbol: false); 352node[RoslynGraphProperties.FormattedLabelWithContainingSymbol] = progressionLanguageService.GetLabelForSymbol(symbol, includeContainingSymbol: true); 362node.Label = (string)node[RoslynGraphProperties.FormattedLabelWithoutContainingSymbol]; 612node[RoslynGraphProperties.TypeKind] = namedType.TypeKind; 629node[RoslynGraphProperties.TypeKind] = method.ContainingType.TypeKind; 630node[RoslynGraphProperties.MethodKind] = method.MethodKind; 662node[RoslynGraphProperties.TypeKind] = property.ContainingType.TypeKind; 675node[RoslynGraphProperties.TypeKind] = eventSymbol.ContainingType.TypeKind; 772symbolNode[RoslynGraphProperties.ContextDocumentId] = document.Id; 773symbolNode[RoslynGraphProperties.ContextProjectId] = document.Project.Id;
Progression\GraphFormattedLabelExtension.cs (4)
18RoslynGraphProperties.Description, 19RoslynGraphProperties.DescriptionWithContainingSymbol); 27RoslynGraphProperties.FormattedLabelWithoutContainingSymbol, 28RoslynGraphProperties.FormattedLabelWithContainingSymbol);
Progression\GraphNavigatorExtension.cs (3)
41var projectId = graphNode.GetValue<ProjectId>(RoslynGraphProperties.ContextProjectId); 53var symbolId = graphNode.GetValue<SymbolKey?>(RoslynGraphProperties.SymbolId); 106var projectId = graphNode.GetValue<ProjectId>(RoslynGraphProperties.ContextProjectId);
Progression\GraphProvider.cs (9)
326=> (DeclarationModifiers)node[RoslynGraphProperties.SymbolModifiers]; 329=> node[RoslynGraphProperties.DeclaredAccessibility].Equals(accessibility); 332=> ((IList<SymbolKey>)node[RoslynGraphProperties.ExplicitInterfaceImplementations]).Count > 0; 336return node[RoslynGraphProperties.SymbolKind] != null 337&& node[RoslynGraphProperties.TypeKind] != null; 341=> symbolKinds.Any(k => k.Equals(node[RoslynGraphProperties.SymbolKind])); 344=> typeKinds.Any(k => node[RoslynGraphProperties.TypeKind].Equals(k)); 363if (graphNode.GetValue(RoslynGraphProperties.ContextProjectId) == null) 367if (graphNode.GetValue<SymbolKey?>(RoslynGraphProperties.SymbolId) == null &&
Progression\GraphQueries\IsUsedByGraphQuery.cs (1)
69locationNode[RoslynGraphProperties.ContextProjectId] = projectId;
Progression\RoslynGraphCategories.cs (1)
19Schema = RoslynGraphProperties.Schema;