/// <summary>
        /// File an issue. Telemetry wrapper.
        /// </summary>
        /// <param name="issueInformation">Issue infromation to pass on to the reporter</param>
        /// <returns></returns>
        public static IIssueResult FileIssueAsync(IssueInformation issueInformation)
        {
            if (!IssueReporter.IsEnabled)
            {
                return(null);
            }

            try
            {
                IIssueResult issueResult    = IssueReporter.FileIssueAsync(issueInformation);
                var          telemetryEvent = TelemetryEventFactory.ForIssueFilingCompleted(issueResult, issueInformation);
                Logger.PublishTelemetryEvent(telemetryEvent);
                return(issueResult);
            }
            catch (Exception e)
            {
                e.ReportException();
                return(null);
            }
        }
        /// <summary>
        /// File an issue. Telemetry wrapper.
        /// </summary>
        /// <param name="issueInformation">Issue infromation to pass on to the reporter</param>
        /// <returns></returns>
        public static IIssueResult FileIssueAsync(IssueInformation issueInformation)
        {
            if (!IssueReporter.IsEnabled)
            {
                return(null);
            }

            try
            {
                IIssueResult issueResult    = IssueReporter.FileIssueAsync(issueInformation);
                var          telemetryEvent = TelemetryEventFactory.ForIssueFilingCompleted(issueResult, issueInformation);
                Logger.PublishTelemetryEvent(telemetryEvent);
                return(issueResult);
            }
#pragma warning disable CA1031 // Do not catch general exception types
            catch (Exception e)
            {
                e.ReportException();
                return(null);
            }
#pragma warning restore CA1031 // Do not catch general exception types
        }