diff --git a/csharp/extractor/Semmle.Extraction.CSharp/Extractor/Extractor.cs b/csharp/extractor/Semmle.Extraction.CSharp/Extractor/Extractor.cs index b3ffcd442f44..a2cfa5669df0 100644 --- a/csharp/extractor/Semmle.Extraction.CSharp/Extractor/Extractor.cs +++ b/csharp/extractor/Semmle.Extraction.CSharp/Extractor/Extractor.cs @@ -134,7 +134,7 @@ private static ExitCode RunBinaryLogAnalysis(Stopwatch stopwatch, Options option { case ExitCode.Ok: case ExitCode.Errors: - allFailed &= false; + allFailed = false; break; case ExitCode.Failed: break; @@ -209,11 +209,11 @@ static bool filter(CompilerCall compilerCall) switch (exit) { case ExitCode.Ok: - allFailed &= false; + allFailed = false; logger.LogInfo($" Compilation {diagnosticName} succeeded"); break; case ExitCode.Errors: - allFailed &= false; + allFailed = false; logger.LogWarning($" Compilation {diagnosticName} had errors"); break; case ExitCode.Failed: