Skip to content

Commit 3672d82

Browse files
committed
C#: Fixup of constructor implementation.
1 parent c41848a commit 3672d82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public override void Populate(TextWriter trapFile)
2929
ContainingType!.PopulateGenerics();
3030

3131
trapFile.constructors(this, Symbol.ContainingType.Name, ContainingType, (Constructor)OriginalDefinition);
32-
if (Context.ExtractLocation(Symbol) && Location is not EmptyLocation)
32+
if (Location is not EmptyLocation)
3333
{
3434
trapFile.constructor_location(this, Location);
3535
}

0 commit comments

Comments
 (0)