Răsfoiți Sursa

added TARGET_JVM def.

svn path=/trunk/mcs/; revision=70476
Igor Zelmanovich 19 ani în urmă
părinte
comite
a7ec227036

+ 2 - 1
mcs/class/System.Web/System.Web.UI.WebControls/ObjectDataSourceView.cs

@@ -505,6 +505,7 @@ namespace System.Web.UI.WebControls
 			if (type != null)
 				return type;
 
+#if !TARGET_JVM
 			IList tla;
 			if ((tla = BuildManager.TopLevelAssemblies) != null) {
 				foreach (Assembly asm in tla) {
@@ -515,7 +516,7 @@ namespace System.Web.UI.WebControls
 						return type;
 				}
 			}
-			
+#endif
 			if (!Directory.Exists (PrivateBinPath))
 				return null;