mail-archives/mono-bugs/2008-September/078664.html

95 строки
4.2 KiB
HTML
Исходник Постоянная ссылка Обычный вид История

2019-06-06 22:03:35 +03:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 421734] PropertyGrid: Does not allow two properties with the same name , but .NET does
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20421734%5D%20PropertyGrid%3A%20Does%20not%20allow%20two%0A%20properties%20with%20the%20same%20name%20%2C%20but%20.NET%20does&In-Reply-To=bug-421734-28286%40https.bugzilla.novell.com/">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="078780.html">
<LINK REL="Next" HREF="078665.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 421734] PropertyGrid: Does not allow two properties with the same name , but .NET does</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20421734%5D%20PropertyGrid%3A%20Does%20not%20allow%20two%0A%20properties%20with%20the%20same%20name%20%2C%20but%20.NET%20does&In-Reply-To=bug-421734-28286%40https.bugzilla.novell.com/"
TITLE="[Mono-bugs] [Bug 421734] PropertyGrid: Does not allow two properties with the same name , but .NET does">bugzilla_noreply at novell.com
</A><BR>
<I>Mon Sep 1 06:05:53 EDT 2008</I>
<P><UL>
<LI>Previous message: <A HREF="078780.html">[Mono-bugs] [Bug 421879] PropertyGrid: Duplicate property names quirk
</A></li>
<LI>Next message: <A HREF="078665.html">[Mono-bugs] [Bug 417955] PropertyGrid: null ITypeDescriptorContext during popullation
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#78664">[ date ]</a>
<a href="thread.html#78664">[ thread ]</a>
<a href="subject.html#78664">[ subject ]</a>
<a href="author.html#78664">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE><A HREF="https://bugzilla.novell.com/show_bug.cgi?id=421734">https://bugzilla.novell.com/show_bug.cgi?id=421734</A>
User <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">contact at i-nz.net</A> added comment
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=421734#c2">https://bugzilla.novell.com/show_bug.cgi?id=421734#c2</A>
--- Comment #2 from Ivan Zlatev &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">contact at i-nz.net</A>&gt; 2008-09-01 04:05:53 MDT ---
As Andy said it won't throw exceptions with post 1.9.x mono (either mono 2.0
pre-release) or SVN HEAD. This is what bug 394317 uncovered.
Still the behavior with multiple properties with the same name both on MSNET
and us is undefined and undocumented. I believe MSNET will try to set the value
of both properties when you set only one and we will just populate the
propertygrid with the same property twice. This is because we and probably ms
too rely on the property name as a key on various places.
I will look into enumerating over the PropertyDescriptorCollection instead of
using the indexer property during our propertygrid population, which would
fully fix. This will happen in bug 421879, which I have just filed with this
issue.
--
Configure bugmail: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="078780.html">[Mono-bugs] [Bug 421879] PropertyGrid: Duplicate property names quirk
</A></li>
<LI>Next message: <A HREF="078665.html">[Mono-bugs] [Bug 417955] PropertyGrid: null ITypeDescriptorContext during popullation
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#78664">[ date ]</a>
<a href="thread.html#78664">[ thread ]</a>
<a href="subject.html#78664">[ subject ]</a>
<a href="author.html#78664">[ 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>