hmm well the only doc on that I could find is at http://www.gotdotnet.com/team/libraries/FxCopRules/GlobalizationRules.aspx
which didn't really convince me that its necessary. Are there issues with the way it is now on on other cultures ?
If it does become necessary then I'd prefer to do it everywhere to keep the codebase consistent rather than having it in some places and not others.


Ian

Hi Ian,

It's just a good programming practice to always specify the culture (FxCop considers it to be a rule violation when you don't specify the cultureinfo)

Gert

------------------------
 Ian MacLean <[EMAIL PROTECTED]> wrote:
------------------------
        

Gert,
I've applied this with some changes. I'm not sure what was behind your use of the CultureInfo.InvariantCulture constant so I pulled it out. Can you please explain what it was supposed to be doing ?


Ian

Hi,

I noticed that you get a NullReferenceException when you try to read the value of a registry value name that does not exist using the ReadRegistry task. Apparently a ToString() was done first, instead of first checking if a value was retrieved.

Ian, can you please submit the included patch that will fix this issue.

Thanks,

Gert






-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to