internal static ITrackingSpan CreateTrackingSpan(this ITextSnapshot snapshot, CompilerMessage message, SpanTrackingMode trackingMode = SpanTrackingMode.EdgeExclusive) { SnapshotSpan span = snapshot.CreateSpan(message); return(snapshot.CreateTrackingSpan(span, trackingMode)); }
internal static SnapshotSpan CreateSpan(this ITextSnapshot snapshot, CompilerMessage message) { return(snapshot.CreateSpan(message.Range)); }