vb.net reflector prototypes

M

Mark Fishman

I am using Reflector on my vb.net .dll, trying to see what is
capabilities are. I was expecting it to decompile my dll back to the
code, but all I seem to get is the function prototypes.

Am I doing something wrong ?

tia,
marfi
 
C

Cor Ligthert [MVP]

Mark,
I am using Reflector on my vb.net .dll, trying to see what is
capabilities are. I was expecting it to decompile my dll back to the
code, but all I seem to get is the function prototypes.
Are you serious?

Cor
 
H

Herfried K. Wagner [MVP]

Mark Fishman said:
I am using Reflector on my vb.net .dll, trying to see what is
capabilities are. I was expecting it to decompile my dll back to the
code, but all I seem to get is the function prototypes.

Am I doing something wrong ?

Doubleclick the method name in the object browser treeview window.
 
M

marfi95

This is what I get when viewing the method:

<MethodImpl(MethodImplOptions.InternalCall,
MethodCodeType:=MethodCodeType.Runtime), DispId(1)> _
Public Overridable Function IsPres(<In> ByVal myType As dTypes) As
Boolean Implements IMyDManager.IsPres
End Function

It's not overridden at a lower level.
 
M

marfi95

this was just a dll written by another dev here at our company. we
were just experimenting around to see what was possible. using version
4.1.70

its almost like its been hidden somehow, but dont know how that would
have been. I thought the only way to do that was dotfuscate, but then
the implementation would still show up, just be harder to read ?
 
M

Mattias Sjögren

This is what I get when viewing the method:
<MethodImpl(MethodImplOptions.InternalCall,
MethodCodeType:=MethodCodeType.Runtime), DispId(1)> _
Public Overridable Function IsPres(<In> ByVal myType As dTypes) As
Boolean Implements IMyDManager.IsPres
End Function

It's not overridden at a lower level.

Looks like a method on a COM type in an interop assembly. It doesn't
how any implementation since the method is implemented in the native
COM library.



Mattias
 
C

Chris Dunaway

But is the .dll a .Net assembly or a COM .dll? It looks as if it is
from a COM interop assembly in which case you would see no code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top