// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0
+#if !MOBILE
using System;
using System.ComponentModel;
DataObjectMethodAttribute a1 = new DataObjectMethodAttribute (DataObjectMethodType.Fill);
DataObjectMethodAttribute a2 = new DataObjectMethodAttribute (DataObjectMethodType.Delete, true);
- Assert.IsTrue (a1.Match (a2), "#1");
+ Assert.IsFalse (a1.Match (a2), "#1");
DataObjectMethodAttribute a3 = new DataObjectMethodAttribute (DataObjectMethodType.Delete);
- Assert.IsFalse (a1.Match (a3), "#2");
+ Assert.IsTrue (a2.Match (a3), "#2");
}
[Test]