byte code libraries....

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to clone the verifydesign ant task from Java so I can use it
with NAnt. Are there any C# byte code libraries available(like Apache's bcel
for Java).
thanks,
dean
 
Dean,
Really, I could use reflection to to go through all the local variables in a
method?

Well in v2.0 of the framework you can, not in v1.x.

But I don't think that's needed (again based on my limited
understanding of Verifydesign). In .NET, assembly dependencies are
recorded in the AssemblyRef table in metadata, which you can query
with Assembly.GetReferencedAssemblies(). So you don't have to check
the locals in every method to know which assemblies the code depends
on.



Mattias
 
SWEEEEET...thanks,
dean

Mattias Sjögren said:
Dean,


Well in v2.0 of the framework you can, not in v1.x.

But I don't think that's needed (again based on my limited
understanding of Verifydesign). In .NET, assembly dependencies are
recorded in the AssemblyRef table in metadata, which you can query
with Assembly.GetReferencedAssemblies(). So you don't have to check
the locals in every method to know which assemblies the code depends
on.



Mattias
 
Back
Top