1 type derived from Edge
Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator (1)
Graph\Item.cs (1)
11
internal sealed class Item :
Edge
2 instantiations of Edge
Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator (2)
Graph\Edge.cs (2)
51
return new
Edge
(label, outVertex.As<TOutVertex, Vertex>(), inVertex.As<TInVertex, Vertex>(), idFactory);
65
return new
Edge
(label, outVertex.As<TOutVertex, Vertex>(), inVerticesArray, idFactory);
18 references to Edge
Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator (10)
Generator.cs (7)
187
_lsifJsonWriter.Write(
Edge
.Create("contains", projectVertex.GetId(), documentIds.ToArray(), _idFactory));
224
lsifJsonWriter.Write(
Edge
.Create("contains", documentVertex.GetId(), rangeVertices, idFactory));
248
lsifJsonWriter.Write(
Edge
.Create(Methods.TextDocumentFoldingRangeName, documentVertex.GetId(), foldingRangeResult.GetId(), idFactory));
335
lsifJsonWriter.Write(
Edge
.Create("next", lazyRangeVertex.Value.GetId(), symbolForLinkedResultSetId, idFactory));
403
lsifJsonWriter.Write(
Edge
.Create(Methods.TextDocumentHoverName, symbolForLinkedResultSetId, hoverResult.GetId(), idFactory));
453
var
semanticTokensEdge =
Edge
.Create(Methods.TextDocumentSemanticTokensFullName, documentVertex.GetId(), semanticTokensResult.GetId(), idFactory);
Graph\Edge.cs (2)
49
public static
Edge
Create<TOutVertex, TInVertex>(string label, Id<TOutVertex> outVertex, Id<TInVertex> inVertex, IdFactory idFactory) where TOutVertex : Vertex where TInVertex : Vertex
54
public static
Edge
Create<TOutVertex, TInVertex>(string label, Id<TOutVertex> outVertex, IList<Id<TInVertex>> inVertices, IdFactory idFactory) where TOutVertex : Vertex where TInVertex : Vertex
ResultSetTracking\SymbolHoldingResultSetTracker.cs (1)
145
lsifJsonWriter.Write(
Edge
.Create(edgeLabel, Id, vertex.GetId(), idFactory));
Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator.UnitTests (8)
Utilities\TestLsifJsonWriter.vb (7)
19
Private ReadOnly _edgesByOutVertex As Dictionary(Of Vertex, List(Of
Edge
)) = New Dictionary(Of Vertex, List(Of
Edge
))
32
Dim edge = TryCast(element,
Edge
)
47
Dim edgesForOutVertex As List(Of
Edge
) = Nothing
49
edgesForOutVertex = New List(Of
Edge
)(capacity:=1)
75
Public Function GetLinkedVertices(Of T As Vertex)(vertex As Graph.Vertex, predicate As Func(Of
Edge
, Boolean)) As ImmutableArray(Of T)
79
Dim edges As List(Of
Edge
) = Nothing
Utilities\TestLsifOutput.vb (1)
69
Public Function GetLinkedVertices(Of T As Vertex)(vertex As Graph.Vertex, predicate As Func(Of
Edge
, Boolean)) As ImmutableArray(Of T)