9 references to EventKind
Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator (9)
Generator.cs (4)
115
_lsifJsonWriter.Write(new Event(Event.
EventKind
.Begin, projectVertex.GetId(), _idFactory));
188
_lsifJsonWriter.Write(new Event(Event.
EventKind
.End, projectVertex.GetId(), _idFactory));
219
lsifJsonWriter.Write(new Event(Event.
EventKind
.Begin, documentVertex.GetId(), idFactory));
229
lsifJsonWriter.Write(new Event(Event.
EventKind
.End, documentVertex.GetId(), idFactory));
Graph\Event.cs (5)
18
private Event(
EventKind
kind, string scope, Id<Element> data, IdFactory idFactory)
21
this.Kind = kind switch {
EventKind
.Begin => "begin",
EventKind
.End => "end", _ => throw new ArgumentException(nameof(kind)) };
26
public Event(
EventKind
kind, Id<LsifProject> data, IdFactory idFactory)
31
public Event(
EventKind
kind, Id<LsifDocument> data, IdFactory idFactory)