Skip to content

Commit e835d8b

Browse files
committed
C#: Change the populate logic context. It looks like a mistake that the only flag set is Standalone.
1 parent c2b835d commit e835d8b

File tree

1 file changed

+1
-1
lines changed
  • csharp/extractor/Semmle.Extraction.CSharp/Extractor

1 file changed

+1
-1
lines changed

csharp/extractor/Semmle.Extraction.CSharp/Extractor/Context.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ private void Populate(ISymbol? optionalSymbol, Entities.CachedEntity entity)
267267

268268
bool duplicationGuard, deferred;
269269

270-
if (ExtractionContext.Mode is ExtractorMode.Standalone)
270+
if (ExtractionContext.IsStandalone)
271271
{
272272
duplicationGuard = false;
273273
deferred = false;

0 commit comments

Comments
 (0)