X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmetadata%2Fremoting.c;h=30595ee5410e1a43cf886966b5e7175899ccf2ff;hb=6b8e96c44d40fa68eff6032445b3767585348b5a;hp=a4ca540bd30c4cf8646d0b3f5a181883b00c2b21;hpb=5b39ce65cc24b24f550ca047d0bc6071b6841d39;p=mono.git diff --git a/mono/metadata/remoting.c b/mono/metadata/remoting.c index a4ca540bd30..30595ee5410 100644 --- a/mono/metadata/remoting.c +++ b/mono/metadata/remoting.c @@ -1520,8 +1520,7 @@ mono_marshal_get_ldflda_wrapper (MonoType *type) klass = mono_defaults.array_class; } else if (type->type == MONO_TYPE_VALUETYPE) { klass = type->data.klass; - } else if (t == MONO_TYPE_OBJECT || t == MONO_TYPE_CLASS || t == MONO_TYPE_STRING || - t == MONO_TYPE_CLASS) { + } else if (t == MONO_TYPE_OBJECT || t == MONO_TYPE_CLASS || t == MONO_TYPE_STRING) { klass = mono_defaults.object_class; } else if (t == MONO_TYPE_PTR || t == MONO_TYPE_FNPTR) { klass = mono_defaults.int_class;