'valuetype': value type must be 'boxed' before method 'method' can be called
By default, a value type is not on the managed heap. Before you can call methods from NGWS runtime classes, such as Object, you need to move the value type to the managed heap.
#using <mscorlib.dll> __value class A { }; void main() { A a; a.GetType(); // C3610 /* to resolve the error use the lines below Object *ovar = dynamic_cast<Object*>(a); ovar->GetType(); */ }