ReSharper 2024.1 Help

Code inspection: Possible unintended reference comparison

Category

Compiler Warnings

ID

CSharpWarnings::CS0252,CS0253

EditorConfig

resharper_c_sharp_warnings_cs0252_cs0253_highlighting

Default severity

Warning

Language

C#

Requires SWA

No

This code inspection warns you about reference comparison in a context where value comparison is most likely implied. It helps you detect the following compiler warnings before you compile:

Last modified: 11 February 2024