Beispiel #1
0
 private bool IsSymbolObjectList(_LIB_LISTFLAGS flags, VSOBSEARCHCRITERIA2[] pobSrch)
 {
     return
         (flags & _LIB_LISTFLAGS.LLF_USESEARCHFILTER) != 0 &&
         pobSrch != null &&
         pobSrch.Length == 1 &&
         (pobSrch[0].grfOptions & (uint)_VSOBSEARCHOPTIONS2.VSOBSO_LISTREFERENCES) != 0 &&
         pobSrch[0].pIVsNavInfo is NavInfo;
 }
Beispiel #2
0
 private bool IsSymbolObjectList(_LIB_LISTFLAGS flags, VSOBSEARCHCRITERIA2[] pobSrch)
 {
     return
         ((flags & _LIB_LISTFLAGS.LLF_USESEARCHFILTER) != 0 &&
          pobSrch != null &&
          pobSrch.Length == 1 &&
          (pobSrch[0].grfOptions & (uint)_VSOBSEARCHOPTIONS2.VSOBSO_LISTREFERENCES) != 0 &&
          pobSrch[0].pIVsNavInfo is NavInfo);
 }