static bool IsObjectOrValueType (ITypeSymbol type) { return type != null && (type.SpecialType == SpecialType.System_Object || type.IsValueType); }