But how has it got to do with me not being able to detect the field PIValue as 
written and Math.PI as read?

Cos i am able to detect that in eclipse.

 

Can you explain it in more details? Thx.


 
> Date: Fri, 8 Jan 2010 09:18:44 +0100
> Subject: Re: [mono-cecil] Field read and write
> From: [email protected]
> To: [email protected]
> 
> Hey,
> 
> On 1/8/10, Wee Li Yen <[email protected]> wrote:
> > public double PIValue = Math.PI; (with or without static)
> 
> If you had bothered to look at the definition of Math.PI you would
> know. It's defined as follows:
> 
> public const double PI = 3.14159265358979323846;
> 
> Meaning the compiler will inline its value whenever it's used.
> 
> -- 
> Jb Evain <[email protected]>
                                          
_________________________________________________________________
Windows 7: Find the right PC for you. Learn more.
http://windows.microsoft.com/shop
-- 
--
mono-cecil

Reply via email to