public static ActiveStatementTrackingSpan Create(ITextSnapshot snapshot, ActiveStatementSpan span) => new(snapshot.CreateTrackingSpan(snapshot.GetTextSpan(span.LineSpan).ToSpan(), SpanTrackingMode.EdgeExclusive), span.Ordinal, span.Flags, span.UnmappedDocumentId);
public VsActiveStatement(VsENCRebuildableProjectImpl owner, uint statementId, DocumentId documentId, ActiveStatementSpan span) { this.Owner = owner; this.StatementId = statementId; this.DocumentId = documentId; this.Span = span; }