Skip to content

Commit 11f9b19

Browse files
Merge pull request #346 from krishnprakash/alert-autofix-14
Potential fix for code scanning alert no. 14: Local scope variable shadows member
2 parents 658011c + ebbde9e commit 11f9b19

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

csharp/extractor/Semmle.Extraction.CSharp/Entities/TypeMention.cs

-7
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,6 @@ protected override void Populate(TextWriter trapFile)
117117
return;
118118
}
119119
}
120-
121-
private void Emit(TextWriter trapFile, Microsoft.CodeAnalysis.Location location, IEntity parent, Type type)
122-
{
123-
trapFile.type_mention(this, type.TypeRef, parent);
124-
trapFile.type_mention_location(this, Context.CreateLocation(location));
125-
}
126-
127120
public static TypeMention Create(Context cx, TypeSyntax syntax, IEntity parent, Type type, Microsoft.CodeAnalysis.Location? loc = null)
128121
{
129122
var ret = new TypeMention(cx, syntax, parent, type, loc);

0 commit comments

Comments
 (0)