0

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.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Rohit Vyas
  • 1,949
  • 3
  • 19
  • 28

0 Answers0