I'm using Stylecop to come up with some custom rules and I'm trying to determine if I have a double or a float.
I'm able to walk through the statement and get a CSTokenType. The CSTokenType is number and can be read as a string. But since it's just a Number I have no real way of knowing if it's an int, float , long , double or whatever.
Any ides on how I can check to see what the primitive type is?