[Mono-bugs] [Bug 322762] Type.GetXxx(...) returns too many members

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Dec 29 09:51:39 EST 2007


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

User gert.driesen at pandora.be added comment
https://bugzilla.novell.com/show_bug.cgi?id=322762#c5


Gert Driesen <gert.driesen at pandora.be> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
 Attachment #188607|0                                               |1
        is obsolete|                                                |




--- Comment #5 from Gert Driesen <gert.driesen at pandora.be>  2007-12-29 07:51:38 MST ---
Created an attachment (id=188917)
 --> (https://bugzilla.novell.com/attachment.cgi?id=188917)
Updated runtime patch (for icall.c)

* icall.c (ves_icall_Type_GetField): if NonPublic flag is set, only
return field from parent class if not private.
(ves_icall_Type_GetFields_internal): if NonPublic flag is set, only
returns fields from parent class if they are not private.
(method_nonpublic): added function to determine if a given method
should be considered non-public. Returns false for private methods
on parent class, and internal methods from parent on the 1.0 profile.
(ves_icall_Type_GetMethodsByName): if NonPublic flag is set, then
use method_nonpublic function to determine whether method should be
returned.
(property_accessor_public): use newly introduced method_nonpublic
function to determine whether accessor is non-public. 
(ves_icall_MonoType_GetEvent): If NonPublic flag is set, only return
event from parent class if not private. Only return static event if
Static flag is set, and only return static event from parent class if
FlattenHierarchy flag is set.
(ves_icall_Type_GetEvents_internal): If NonPublic flag is set, only
include non-private events from parent class.


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


More information about the mono-bugs mailing list