[Mono-bugs] [Bug 630053] CustomAttributeData.GetCustomAttributes is loading too aggresively

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Aug 14 04:46:21 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=630053

http://bugzilla.novell.com/show_bug.cgi?id=630053#c6


Marek Safar <msafar at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |ASSIGNED
       InfoProvider|msafar at novell.com           |

--- Comment #6 from Marek Safar <msafar at novell.com> 2010-08-14 08:46:20 UTC ---
Does this happen for fields only ?

Compiler does not really work the way where you try to match name based on what
a user wrote in source code. It verifies that what the user wrote is the
intended name.

The best example are generics methods. Consider callee

Foo (1, 2, "b");

What name should I look for

Foo, Foo`1, Foo`2, Foo`3 or Foo`5 where the user forget to specify 5 type
arguments?

If we are talking about fields only, I possibly could workaround it but
GetMembers still cannot throw otherwise I would get just some members and not
the full definition.

-- 
Configure bugmail: http://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