We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 841ef9a commit 4711856Copy full SHA for 4711856
csharp/extractor/Semmle.Extraction/Context.cs
@@ -291,7 +291,7 @@ private void Populate(ISymbol? optionalSymbol, CachedEntity entity)
291
throw new InternalError("Unexpected TrapStackBehaviour");
292
}
293
294
- var a = duplicationGuard && IsEntityDuplicationGuarded(entity, out var loc) //CreateLocation(entity.ReportingLocation) is NonGeneratedSourceLocation loc
+ var a = duplicationGuard && IsEntityDuplicationGuarded(entity, out var loc)
295
? (Action)(() => WithDuplicationGuard(new Key(entity, loc), () => entity.Populate(TrapWriter.Writer)))
296
: (Action)(() => this.Try(null, optionalSymbol, () => entity.Populate(TrapWriter.Writer)));
297
0 commit comments