Disable AND and OR keywords

Posted by boris callens on Stack Overflow See other posts from Stack Overflow or by boris callens
Published on 2010-05-10T08:22:57Z Indexed on 2010/05/10 8:24 UTC
Read the original article Hit count: 171

Filed under:
|
|
|

In VB.net the ANDALSO and ORELSE keywords should basically always be prefered over the AND and OR keywords.
What is the easiest way to disable the AND and OR keywords?
I'm thinking FXCop (maybe somebody has already written this rule).
Maybe just some setting in VS (we're currently using 2008 and are moving to 2010 end of the summer)

I'm open for all suggestions.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about vb.net