C#: Move the StandaloneAnalyser to the Standalone project.

This commit is contained in:
Michael Nebel
2022-02-23 15:09:52 +01:00
parent efab3bfa89
commit 62dc23f6a5
2 changed files with 2 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ namespace Semmle.Extraction.CSharp.Standalone
references => GetResolvedReferencesStandalone(referencePaths, references),
(analyser, syntaxTrees) => CSharp.Extractor.ReadSyntaxTrees(sources, analyser, null, null, syntaxTrees),
(syntaxTrees, references) => CSharpCompilation.Create("csharp.dll", syntaxTrees, references),
(compilation, options) => analyser.InitializeStandalone(compilation, options),
(compilation, options) => analyser.Initialize(compilation, options),
() => { },
_ => { },
() =>

View File

@@ -11,7 +11,7 @@ namespace Semmle.Extraction.CSharp
{
}
public void InitializeStandalone(CSharpCompilation compilationIn, CommonOptions options)
public void Initialize(CSharpCompilation compilationIn, CommonOptions options)
{
compilation = compilationIn;
layout = new Layout();