Files
codeql/csharp
copilot-swe-agent[bot] fdbc72a673 Remove ObjectType parameter checks from System.qll methods
Removes instanceof ObjectType checks from method signatures in System.qll to support
nullable reference types (object?). This fixes false positives when Equals(object?)
is used instead of Equals(object), as they are the same underlying type with different
nullability annotations.

Fixes:
- SystemIComparableInterface.getCompareToMethod()
- SystemObjectClass.getEqualsMethod()
- SystemObjectClass.getStaticEqualsMethod()
- SystemObjectClass.getReferenceEqualsMethod()

Co-authored-by: hvitved <3667920+hvitved@users.noreply.github.com>
2026-02-16 10:34:49 +00:00
..
2022-10-19 03:49:16 -04:00
2024-03-12 11:12:55 +01:00
2024-09-13 09:42:55 +02:00
2024-12-09 13:00:52 +01:00