diff --git a/csharp/extractor/Semmle.Extraction.CSharp/Entities/TypeMention.cs b/csharp/extractor/Semmle.Extraction.CSharp/Entities/TypeMention.cs index a086be796e89..f15a2f22ed19 100644 --- a/csharp/extractor/Semmle.Extraction.CSharp/Entities/TypeMention.cs +++ b/csharp/extractor/Semmle.Extraction.CSharp/Entities/TypeMention.cs @@ -117,13 +117,6 @@ protected override void Populate(TextWriter trapFile) return; } } - - private void Emit(TextWriter trapFile, Microsoft.CodeAnalysis.Location location, IEntity parent, Type type) - { - trapFile.type_mention(this, type.TypeRef, parent); - trapFile.type_mention_location(this, Context.CreateLocation(location)); - } - public static TypeMention Create(Context cx, TypeSyntax syntax, IEntity parent, Type type, Microsoft.CodeAnalysis.Location? loc = null) { var ret = new TypeMention(cx, syntax, parent, type, loc);