mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
C#: Re-factor the check whether we are in standalone mode.
This commit is contained in:
@@ -15,6 +15,7 @@ namespace Semmle.Extraction.CSharp
|
||||
public ExtractorMode Mode { get; }
|
||||
public string OutputPath { get; }
|
||||
public IEnumerable<CompilationInfo> CompilationInfos { get; }
|
||||
public bool IsStandalone => Mode.HasFlag(ExtractorMode.Standalone);
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new extractor instance for one compilation unit.
|
||||
|
||||
Reference in New Issue
Block a user