public bool IdSetGivenContainsEntryId(byte[] entryId)
 {
     try
     {
         if (this.Data == null)
         {
             MrsTracer.Common.Warning("Data not created to generate idset.  default to true", new object[0]);
             return(true);
         }
         if (this.IdSetGiven == null)
         {
             MrsTracer.Common.Warning("Couldn't generate idset to check. default to true", new object[0]);
             return(true);
         }
         return(this.IdSetGiven.Contains(IdConverter.MessageGuidGlobCountFromEntryId(entryId)));
     }
     catch (MapiPermanentException ex)
     {
         MrsTracer.Common.Warning("Couldn't generate idset to check. default to true {0}", new object[]
         {
             CommonUtils.FullExceptionMessage(ex)
         });
     }
     catch (MapiRetryableException ex2)
     {
         MrsTracer.Common.Warning("Couldn't generate idset to check. default to true {0}", new object[]
         {
             CommonUtils.FullExceptionMessage(ex2)
         });
     }
     return(true);
 }