private static SnapshotSpan BuildSnapshotSpanFromLineNumber(string text, int lineNumber)
 {
     var textSnapshot = new FakeTextSnapshot(text);
     var textSnapshotLine = textSnapshot.GetLineFromLineNumber(lineNumber);
     return new SnapshotSpan(textSnapshot, textSnapshotLine.Start, textSnapshotLine.Length);
 }