Invalid use of type token
One of the following occurred:
- A structure or class name was used incorrectly. For example, a class name can’t be used as a variable, a structure name can’t be passed as an argument to a routine, etc.
- A non-CLS structure containing object type fields was returned from a method or as the type of a property. (Warning level 1)