public static string CreateMsBuildCodeAnalysisReport(
            this ICakeContext context,
            string logFileContent,
            string styleSheetContent)
        {
            context.NotNull(nameof(context));
            logFileContent.NotNullOrWhiteSpace(nameof(logFileContent));
            styleSheetContent.NotNullOrWhiteSpace(nameof(styleSheetContent));

            return(MsBuildCodeAnalysisReporter.CreateCodeAnalysisReport(
                       logFileContent,
                       styleSheetContent));
        }
        public static void CreateMsBuildCodeAnalysisReport(
            this ICakeContext context,
            FilePath logFile,
            CodeAnalysisReport report,
            FilePath outputFile)
        {
            context.NotNull(nameof(context));
            logFile.NotNull(nameof(logFile));
            report.NotUndefined(nameof(report));
            outputFile.NotNull(nameof(outputFile));

            MsBuildCodeAnalysisReporter.CreateCodeAnalysisReport(
                context.FileSystem,
                logFile,
                report,
                outputFile);
        }