mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
C#: Remove reference equality
This commit is contained in:
@@ -36,7 +36,7 @@ namespace Semmle.Extraction.Entities
|
||||
}
|
||||
|
||||
public override bool NeedsPopulation =>
|
||||
assembly != Context.Compilation.Assembly || !Context.IsGlobalContext;
|
||||
!Equals(assembly, Context.Compilation.Assembly) || !Context.IsGlobalContext;
|
||||
|
||||
public override int GetHashCode() =>
|
||||
symbol == null ? 91187354 : symbol.GetHashCode();
|
||||
|
||||
Reference in New Issue
Block a user