Lines Matching refs:val2
65 static bool compareData(Object val1, Object val2) in compareData() argument
67 if (val1 == null && val2 == null || val1 == val2) in compareData()
69 if ((val1 == null && val2 != null) || in compareData()
70 (val1 != null && val2 == null) || val1.GetType() != val2.GetType()) in compareData()
78 ret = compareSequence((Array) val1, (Array) val2); in compareData()
83 ret = (string) val1 == (string) val2; in compareData()
88 ret = val1 == val2; in compareData()
93 ret = compareStruct(val1, val2); in compareData()
98 Any a2 = (Any) val2; in compareData()
104 ret = val1.Equals(val2); in compareData()
139 static bool compareStruct(Object val1, Object val2) in compareStruct() argument
141 Debug.Assert(val1 != null && val2 != null); in compareStruct()
143 Type t2 = val2.GetType(); in compareStruct()
152 Object fieldVal2 = fields[i].GetValue(val2); in compareStruct()