private static void AssertExpectedErrorLog(BuildLog result, string expectedErrorLog)
 {
     result.AssertExpectedCapturedPropertyValue(TargetProperties.ErrorLog, expectedErrorLog);
 }
 private static void AssertExpectedResolvedRuleset(BuildLog result, string expectedResolvedRuleset)
 {
     result.AssertExpectedCapturedPropertyValue(TargetProperties.ResolvedCodeAnalysisRuleset, expectedResolvedRuleset);
 }
 /// <summary>
 /// Checks that no analysis warnings will be treated as errors nor will they be ignored
 /// </summary>
 private static void AssertWarningsAreNotTreatedAsErrorsNorIgnored(BuildLog actualResult)
 {
     actualResult.AssertExpectedCapturedPropertyValue(TargetProperties.TreatWarningsAsErrors, "false");
     actualResult.AssertExpectedCapturedPropertyValue(TargetProperties.WarningsAsErrors, "");
     actualResult.AssertExpectedCapturedPropertyValue(TargetProperties.WarningLevel, "4");
 }
 private static void AssertExpectedErrorLog(BuildLog result, string expectedErrorLog)
 {
     result.AssertExpectedCapturedPropertyValue(TargetProperties.ErrorLog, expectedErrorLog);
     result.AssertExpectedCapturedPropertyValue(TargetProperties.RazorSonarCompileErrorLog, expectedErrorLog);
     result.AssertExpectedCapturedPropertyValue(TargetProperties.RazorCompilationErrorLog, expectedErrorLog);
 }