// Token: 0x06001162 RID: 4450 RVA: 0x00065D28 File Offset: 0x00063F28
        public static IList <string> GetNormalizedForms(SpeechRecognitionEngine engine, string word)
        {
            UMTracer.DebugTrace("Entering SpeechRecognizerInfo.GetNormalizedForms - word='{0}'", new object[]
            {
                word
            });
            FaultInjectionUtils.FaultInjectException(2502307133U);
            NormalizedResult normalizedResult = engine.NormalizerCollection.Normalize(word);
            ReadOnlyCollection <NormalizedResultAlternate> alternates = normalizedResult.GetAlternates();
            List <string> list = new List <string>(5);

            foreach (NormalizedResultAlternate normalizedResultAlternate in alternates)
            {
                UMTracer.DebugTrace("SpeechRecognizerInfo.GetNormalizedForms - word='{0}', alternate='{1}'", new object[]
                {
                    word,
                    normalizedResultAlternate.NormalizedString
                });
                list.Add(normalizedResultAlternate.NormalizedString);
            }
            return(list);
        }
        // Token: 0x06001175 RID: 4469 RVA: 0x00066360 File Offset: 0x00064560
        protected override void InvokeInternal(InvokeArgs invokeArgs, List <KeyValuePair <string, object> > customDataToLog)
        {
            MailboxSession mailboxSession = invokeArgs.StoreSession as MailboxSession;

            if (mailboxSession == null)
            {
                return;
            }
            string text = mailboxSession.MailboxOwner.MailboxInfo.PrimarySmtpAddress.ToString();

            try
            {
                CallIdTracer.TraceDebug(UMReportingAssistant.Tracer, this.GetHashCode(), "UMReportingAssistant invoked. MDB {0}, UserPrincipalName {1}", new object[]
                {
                    base.DatabaseInfo.DisplayName,
                    text
                });
                UMReportUtil.DoAggregation(mailboxSession);
                UMReportUtil.SetMailboxExtendedProperty(mailboxSession, false);
                CallIdTracer.TraceDebug(UMReportingAssistant.Tracer, this.GetHashCode(), "UMReportingAssistant returning. MDB {0}, UserPrincipalName {1}", new object[]
                {
                    base.DatabaseInfo.DisplayName,
                    text
                });
            }
            catch (UnableToFindUMReportDataException ex)
            {
                UmGlobals.ExEvent.LogEvent(UMEventLogConstants.Tuple_UnableToFindUMReportData, null, new object[]
                {
                    text,
                    CommonUtil.ToEventLogString(ex)
                });
                this.TraceException(text, ex);
                UMReportUtil.SetMailboxExtendedProperty(mailboxSession, false);
            }
            catch (CorruptDataException ex2)
            {
                UmGlobals.ExEvent.LogEvent(mailboxSession.MailboxOwner.MailboxInfo.OrganizationId, UMEventLogConstants.Tuple_FatalErrorDuringAggregation, text, text, CommonUtil.ToEventLogString(ex2));
                this.TraceException(text, ex2);
                bool flag = true;
                FaultInjectionUtils.FaultInjectChangeValue <bool>(3945147709U, ref flag);
                if (flag)
                {
                    ExceptionHandling.SendWatsonWithExtraData(ex2, false);
                }
                UMReportUtil.TryDeleteUMReportConfig(mailboxSession);
            }
            catch (DataSourceOperationException ex3)
            {
                this.TraceException(text, ex3);
                throw new SkipException(ex3);
            }
            catch (StoragePermanentException ex4)
            {
                this.TraceException(text, ex4);
                UmGlobals.ExEvent.LogEvent(UMEventLogConstants.Tuple_PermanentErrorDuringAggregation, null, new object[]
                {
                    text,
                    CommonUtil.ToEventLogString(ex4)
                });
                throw new SkipException(ex4);
            }
        }