mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
C#: Do not bind comments to compiler generated statements.
This commit is contained in:
@@ -9,7 +9,7 @@ namespace Semmle.Extraction.CSharp.Entities.Statements
|
||||
internal class SyntheticEmptyBlock : Statement<BlockSyntax>
|
||||
{
|
||||
private SyntheticEmptyBlock(Context cx, BlockSyntax block, IStatementParentEntity parent, int child, Location location)
|
||||
: base(cx, block, StmtKind.BLOCK, parent, child, location) { }
|
||||
: base(cx, block, StmtKind.BLOCK, parent, child, location, isCompilerGenerated: true) { }
|
||||
|
||||
public static SyntheticEmptyBlock Create(Context cx, IStatementParentEntity parent, int child, Location location)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user