Creating Customized rule for FxCop

66 Views Asked by At

Need help for creating a fxcop rule for following statement:

"Do not cast values from different domains"

I have googled for this statement and get some info from following microsoft site:

Click Here

It says

"•Do not cast values from different domains. Casts operate within a particular domain of values. For example, numbers and strings are different domains. "

But i am not getting any idea how can I make a generic rule for this. I am building some customized rules which are not available in FxCop.

0

There are 0 best solutions below