public SnapshotPoint?GetTriggerPoint(ITextSnapshot textSnapshot)
        {
            if (!IsStarted)
            {
                throw new InvalidOperationException();
            }
            if (IsDismissed)
            {
                throw new InvalidOperationException();
            }

            return(IntellisenseSessionHelper.GetTriggerPoint(TextView, triggerPoint, textSnapshot));
        }
        public ITrackingPoint GetTriggerPoint(ITextBuffer textBuffer)
        {
            if (!IsStarted)
            {
                throw new InvalidOperationException();
            }
            if (IsDismissed)
            {
                throw new InvalidOperationException();
            }

            return(IntellisenseSessionHelper.GetTriggerPoint(TextView, triggerPoint, textBuffer));
        }