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:
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.