Query module EqualsArray

name
Equals on collections
description
Comparing collections using the Equals method only checks reference equality. A deep compare is more likely what is needed.
kind
problem
problem.severity
recommendation
precision
high
id
cs/equals-on-arrays
tags
reliability correctness

Imports

Collections

Provides definitions related to the namespace System.Collections.

System

Provides definitions related to the namespace System.

csharp

The default C# QL library.

Predicates