mail-archives/mono-bugs/2005-June/030021.html

108 строки
4.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 75152][Nor] New - [PATCH] TypeDescriptor fixes for
.NET 2.0
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2075152%5D%5BNor%5D%20New%20-%20%5BPATCH%5D%20TypeDescriptor%20fixes%20for%0A%09.NET%202.0&In-Reply-To=bug-75152%40chernobyl.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="030020.html">
<LINK REL="Next" HREF="030022.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 75152][Nor] New - [PATCH] TypeDescriptor fixes for
.NET 2.0</H1>
<B>bugzilla-daemon at bugzilla.ximian.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2075152%5D%5BNor%5D%20New%20-%20%5BPATCH%5D%20TypeDescriptor%20fixes%20for%0A%09.NET%202.0&In-Reply-To=bug-75152%40chernobyl.ximian.com"
TITLE="[Mono-bugs] [Bug 75152][Nor] New - [PATCH] TypeDescriptor fixes for
.NET 2.0">bugzilla-daemon at bugzilla.ximian.com
</A><BR>
<I>Sat Jun 4 04:30:50 EDT 2005</I>
<P><UL>
<LI>Previous message: <A HREF="030020.html">[Mono-bugs] [Bug 75150][Nor] Changed - [PATCH] DataSet.Merge() can
throw ConstraintException
</A></li>
<LI>Next message: <A HREF="030022.html">[Mono-bugs] [Bug 75152][Nor] Changed - [PATCH] TypeDescriptor fixes
for .NET 2.0
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#30021">[ date ]</a>
<a href="thread.html#30021">[ thread ]</a>
<a href="subject.html#30021">[ subject ]</a>
<a href="author.html#30021">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">gert.driesen at pandora.be.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=75152">http://bugzilla.ximian.com/show_bug.cgi?id=75152</A>
--- shadow/75152 2005-06-04 04:30:50.000000000 -0400
+++ shadow/75152.tmp.1955 2005-06-04 04:30:50.000000000 -0400
@@ -0,0 +1,34 @@
+Bug#: 75152
+Product: Mono: Class Libraries
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: System
+AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at ximian.com</A>
+ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">gert.driesen at pandora.be</A>
+QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at ximian.com</A>
+TargetMilestone: ---
+URL:
+Cc:
+Summary: [PATCH] TypeDescriptor fixes for .NET 2.0
+
+The Mono TypeDescriptor did not match that of MS.NET (2.0):
+
+- In MS.NET 2.0, TypeDescriptor.GetComponentName () returns null if the
+object is not a component or the component has no site
+
+- In MS.NET 2.0, TypeDescriptor.GetDefaultEvent () does not fallback to
+the first defined event if the default event is filtered out.
+
+- Mono's TypeDescriptor.GetDefaultProperty () did not take into account
+filtering of properties.
+
+The attached patch fixes these issues and adds units tests for them, that
+now pass on both Mono (1.0 and 2.0) and MS.NET (1.x and 2.0 Beta 2).
+
+PS. Sorry for not splitting it up in multiple bug reports. If you still
+want me to do so, just let me know ...
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="030020.html">[Mono-bugs] [Bug 75150][Nor] Changed - [PATCH] DataSet.Merge() can
throw ConstraintException
</A></li>
<LI>Next message: <A HREF="030022.html">[Mono-bugs] [Bug 75152][Nor] Changed - [PATCH] TypeDescriptor fixes
for .NET 2.0
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#30021">[ date ]</a>
<a href="thread.html#30021">[ thread ]</a>
<a href="subject.html#30021">[ subject ]</a>
<a href="author.html#30021">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>