mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
19 lines
509 B
C#
19 lines
509 B
C#
using Microsoft.CodeAnalysis.CSharp.Syntax;
|
|
using System.IO;
|
|
|
|
namespace Semmle.Extraction.CSharp.Entities
|
|
{
|
|
internal class UndefineDirective : PreprocessorDirective<UndefDirectiveTriviaSyntax>
|
|
{
|
|
public UndefineDirective(Context cx, UndefDirectiveTriviaSyntax trivia)
|
|
: base(cx, trivia)
|
|
{
|
|
}
|
|
|
|
protected override void PopulatePreprocessor(TextWriter trapFile)
|
|
{
|
|
trapFile.directive_undefines(this, trivia.Name.ToString());
|
|
}
|
|
}
|
|
}
|