C#: Merge expr_compiler_generated and compiler_generated and add compiler generated statements.

This commit is contained in:
Michael Nebel
2024-02-22 15:31:07 +01:00
parent 606a8fed0c
commit bf4e3a7d1c
6 changed files with 16 additions and 10 deletions

View File

@@ -54,7 +54,7 @@ namespace Semmle.Extraction.CSharp.Entities
}
if (info.IsCompilerGenerated)
trapFile.expr_compiler_generated(this);
trapFile.compiler_generated(this);
if (info.ExprValue is string value)
trapFile.expr_value(this, value);