[Sys.Data,DSExtensions] fix build wrt referencesource updates.
authorAtsushi Eno <atsushieno@gmail.com>
Thu, 26 Mar 2015 12:52:18 +0000 (21:52 +0900)
committerAtsushi Eno <atsushieno@gmail.com>
Thu, 26 Mar 2015 12:52:18 +0000 (21:52 +0900)
It caused name conflict with internal Sys.Data type (due to InternalsVisibleTo).

mcs/class/System.Data.DataSetExtensions/System.Data/DataRowComparer_1.cs

index 0e44e20e4eed1a1c97271de9ddfdd98efeb8a29f..2529e518f9a4490d67bcbaca3309574729efa58b 100644 (file)
@@ -72,7 +72,7 @@ namespace System.Data
                        if (leftCol == null || rightCol == null)
                                return false;
 
-                       ValueType vt = leftCol as ValueType;
+                       var vt = leftCol as System.ValueType;
                        if (vt != null && vt.Equals (rightCol))
                                return true;