Compile time analysis?

A

Allan Ebdrup

Is there any way to have some code run at compile time that analyses the
code being compiled.
We have som checks that run at runtime when you instantiate a class, but the
could be run at compiletime if there was a easy way to do so.

Kind Regards,
Allan Ebdrup
 
V

Vadym Stetsyak

Hello, Allan!

AE> Is there any way to have some code run at compile time that analyses
AE> the code being compiled.
AE> We have som checks that run at runtime when you instantiate a class,
AE> but the could be run at compiletime if there was a easy way to do so.

Take a look at following project,
( http://research.microsoft.com/phoenix/ )
--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
 
A

Allan Ebdrup

Where can i get more info on this?
We're using VS2005 and dotNet 2.0 is the built-in code analysis what you
call "CodeAnalyzer"?

Kind Regards,
Allan Ebdrup
 
C

cody

the built in thing in vs2005 is fxcop. codeananalyzer is a 3rd party tool
but I do not know the webpage.
maybe you can google for csharp/.net code analysing tools.
 

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

Top