[Mono-bugs] [Bug 417750] Dictionary<>.Values throws MissingMemberException

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Aug 16 08:35:28 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=417750

User contact at i-nz.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=417750#c2


Ivan Zlatev <contact at i-nz.net> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
         AssignedTo|contact at i-nz.net                                |rkvinge at novell.com
             Status|ASSIGNED                                        |NEW
          Component|Windows.Forms                                   |VB Runtime
            Summary|PropertyGrid: property with custom UITypeEditor |Dictionary<>.Values throws
                   |not shown                                       |MissingMemberException




--- Comment #2 from Ivan Zlatev <contact at i-nz.net>  2008-08-16 06:35:27 MDT ---
It appears this is not a PropertyGrid bug. The problem is that VB.NET
reflection throws.

Reassigning to the appropriate component and attaching a minimalistic test
case.

The attached minimalistic test case reproduces. Trace is:

Unhandled Exception: System.MissingMemberException: Cannot find the requested
class member.
  at Microsoft.VisualBasic.CompilerServices.LateBinder.BindToMethod
(BindingFlags bindingAttr, System.Reflection.MethodBase[] match,
System.Object[]& args, System.Reflection.ParameterModifier[] modifiers,
System.Globalization.CultureInfo culture, System.String[] names, System.Object&
state) [0x00000] 
  at System.MonoType.InvokeMember (System.String name, BindingFlags invokeAttr,
System.Reflection.Binder binder, System.Object target, System.Object[] args,
System.Reflection.ParameterModifier[] modifiers,
System.Globalization.CultureInfo culture, System.String[] namedParameters)
[0x00230] in /home/ivanz/src/git/mcs/class/corlib/System/MonoType.cs:382 
  at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet (System.Object
o, System.Type objType, System.String name, System.Object[] args,
System.String[] paramnames, System.Boolean[] CopyBack) [0x00000] 
  at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet
(System.Object Instance, System.Type Type, System.String MemberName,
System.Object[] Arguments, System.String[] ArgumentNames, System.Type[]
TypeArguments, System.Boolean[] CopyBack) [0x00000] 
  at vb_test.vb_crash.Main (System.String[] Args) [0x00000] 


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list