mirror of
https://github.com/github/codeql.git
synced 2026-05-04 21:25:44 +02:00
C#: Refactoring expression and statement population.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using Microsoft.CodeAnalysis.CSharp.Syntax;
|
||||
using Semmle.Extraction.Kinds;
|
||||
using System.IO;
|
||||
|
||||
namespace Semmle.Extraction.CSharp.Entities.Statements
|
||||
{
|
||||
@@ -15,7 +16,7 @@ namespace Semmle.Extraction.CSharp.Entities.Statements
|
||||
return ret;
|
||||
}
|
||||
|
||||
protected override void Populate()
|
||||
protected override void PopulateStatement(TextWriter trapFile)
|
||||
{
|
||||
Expression.Create(cx, Stmt.Condition, this, 0);
|
||||
Create(cx, Stmt.Statement, this, 1);
|
||||
|
||||
Reference in New Issue
Block a user