Example #1
0
        private static void ReportResult(
            Result result,
            IAnalysisLogger logger)
        {
            Rule rule = Json.Schema.Sarif.RuleFactory.GetRuleFromRuleId(result.RuleId);

            logger.Log(rule, result);
        }
Example #2
0
        private static void ReportResult(
            Result result,
            IAnalysisLogger logger)
        {
            ReportingDescriptor rule = RuleFactory.GetRuleFromRuleId(result.RuleId);

            logger.Log(rule, result);
        }
        private static void ReportResult(
            Result result,
            IAnalysisLogger logger)
        {
#if JSCHEMA_UPGRADED
            ReportingDescriptor rule = RuleFactory.GetRuleFromRuleId(result.RuleId);
            logger.Log(rule, result);
#endif
        }