I use Stylecop to create some custom rules, and I'm trying to determine if I have a double or a floating one.
I can go through the instructions and get the CSTokenType. CSTokenType is a number and can be considered a string. But since this is just a number, I have no real way to find out if it has an int, float, long, double or something else.
How can I check what a primitive type is?
source
share