13 references to GetThisDocument
Microsoft.VisualStudio.LanguageServices (9)
Venus\ContainedLanguage.IVsContainedLanguageCodeSupport.cs (9)
33result = ContainedLanguageCodeSupport.CreateUniqueEventName(GetThisDocument(), GlobalOptions, pszClassName, pszObjectName, pszNameOfEvent, c.UserCancellationToken)); 49var thisDocument = GetThisDocument(); 97action: c => result = ContainedLanguageCodeSupport.TryGetBaseClassName(GetThisDocument(), pszClassName, c.UserCancellationToken, out baseClassName)); 119action: c => membersAndIds = ContainedLanguageCodeSupport.GetCompatibleEventHandlers(GetThisDocument(), pszClassName, pszObjectTypeName, pszNameOfEvent, c.UserCancellationToken)); 138action: c => memberId = ContainedLanguageCodeSupport.GetEventHandlerMemberId(GetThisDocument(), pszClassName, pszObjectTypeName, pszNameOfEvent, pszEventHandlerName, c.UserCancellationToken)); 158if (ContainedLanguageCodeSupport.TryGetMemberNavigationPoint(GetThisDocument(), GlobalOptions, pszClassName, pszUniqueMemberID, out textSpan, out var targetDocument, c.UserCancellationToken)) 180action: c => membersAndIds = ContainedLanguageCodeSupport.GetMembers(GetThisDocument(), pszClassName, (CODEMEMBERTYPE)dwFlags, c.UserCancellationToken)); 191pfIsValidID = ContainedLanguageCodeSupport.IsValidId(GetThisDocument(), bstrID); 209if (!ContainedLanguageCodeSupport.TryRenameElement(GetThisDocument(), clrt, bstrOldID, bstrNewID, refactorNotifyServices, c.UserCancellationToken))
Microsoft.VisualStudio.LanguageServices.VisualBasic (4)
Venus\VisualBasicContainedLanguage.vb (4)
68Dim document = GetThisDocument() 85Dim thisDocument = GetThisDocument() 126GetThisDocument(), pszClassName, pszObjectName, c.UserCancellationToken) 149Dim document = GetThisDocument()