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