Menu

#73 Emonicinformator: protected and internal

closed
None
5
2007-11-05
2007-10-25
No

The emonicinformator-module grabs all public elements of the external dll/exe. I think that the protected and internal elements are missing! One could write a dll and uses it within its project. An arbitrary class could derivate from a dll-internal class and the protected/ internal methods are missing then. So an enhancement of the emonic-informator is necessary.

On emonic.base side, I am enhancing the dllinfo.java to handle such an issue.

Discussion

  • Bernhard Brem

    Bernhard Brem - 2007-10-29

    Logged In: YES
    user_id=1245734
    Originator: NO

    I can take a look at the emonicinformator.exe-code.

     
  • Bernhard Brem

    Bernhard Brem - 2007-10-30

    Logged In: YES
    user_id=1245734
    Originator: NO

    After a glimpse to the code c#:
    - The access info protected is missing for fields, classes and properties. I will add it in the same way as it is in methods.
    - It is not possible (and I think it is useless) to get the "internal" info: It is not questionable via reflection. I think we don't get internal functions via reflections at all: Like the name "internal" suggests, these functions can only be referenced inside the dll, so that they can't be referenced and are not exported.

     
  • Bernhard Brem

    Bernhard Brem - 2007-11-03

    Logged In: YES
    user_id=1245734
    Originator: NO

    Improved the emonicinformator.exe and added the source to CVS. It does NOT find any internal classes, I don't think it is possible to find them via reflections from a assembly loaded as assembly file.

    Improvements I made:
    - Protected and private classes are found, too.
    - The elements are labeled now correct as "CLASS", "INTERFACE" and "ENUM", not all as class.
    - The access description is now "ACCESS: key", so that it can be easier ne identified.

     
  • Dominik Ertl

    Dominik Ertl - 2007-11-05

    Logged In: YES
    user_id=1858080
    Originator: YES

    fixed some bugs (Emonicinformator, too => plz recompile!) in newly added code (regarding representation of images within the code-completion window). seems to work now. closed

     
  • Dominik Ertl

    Dominik Ertl - 2007-11-05
    • status: open --> closed
     
  • Remy Chi Jian Suen

    • assigned_to: nobody --> ertl
     
  • Remy Chi Jian Suen

    Logged In: YES
    user_id=1299552
    Originator: NO

    Dominik, please update the changelog.html file when you close bugs and/or feature requests.

     

Log in to post a comment.

Auth0 Logo