[Marshal.IsComObject] Make this predicate return false instead of throwing an excepti...
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / Marshal.cs
index 03eda1eea084260238e281841151911791733aee..128b8c983b134408a2056bddd9aec8cd09fc2c2e 100644 (file)
@@ -741,7 +741,7 @@ namespace System.Runtime.InteropServices
 #else
                public static bool IsComObject (object o)
                {
-                       throw new PlatformNotSupportedException ();
+                       return false;
                }
 #endif