public static IDebugDocument2 GetDocument(this IDebugDocumentPosition2 documentPosition)
        {
            Contract.Requires <ArgumentNullException>(documentPosition != null, "documentPosition");

            IDebugDocument2 document;

            ErrorHandler.ThrowOnFailure(documentPosition.GetDocument(out document));
            return(document);
        }
 public int GetDocument(out IDebugDocument2 ppDocument)
 {
     return(_documentPosition.GetDocument(out ppDocument));
 }