Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ AreElementEqual()

static bool System.Data.DataRowComparer< TRow >.AreElementEqual ( object a,
object b )
inlinestaticprivate

Definition at line 30 of file DataRowComparer.cs.

31 {
32 if (a == b)
33 {
34 return true;
35 }
36 if (a == null || a == DBNull.Value || b == null || b == DBNull.Value)
37 {
38 return false;
39 }
40 return a.Equals(b);
41 }

References System.DBNull.Value.

Referenced by System.Data.DataRowComparer< TRow >.CompareArray().