From db93f965f2d1e01dc85141fa42cc8b686dc448d6 Mon Sep 17 00:00:00 2001 From: s_falahati Date: Mon, 8 Apr 2019 02:01:52 +0430 Subject: [PATCH] SourceModeInfo minor cleanup --- NvAPIWrapper/Native/Display/Structures/SourceModeInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NvAPIWrapper/Native/Display/Structures/SourceModeInfo.cs b/NvAPIWrapper/Native/Display/Structures/SourceModeInfo.cs index 468e9d1..132777b 100644 --- a/NvAPIWrapper/Native/Display/Structures/SourceModeInfo.cs +++ b/NvAPIWrapper/Native/Display/Structures/SourceModeInfo.cs @@ -54,7 +54,7 @@ public bool Equals(SourceModeInfo other) /// public override bool Equals(object obj) { - if (ReferenceEquals(null, obj)) + if (obj == null) { return false; }