internal void CheckMixedMarshalling(object o, Type type, UInt32 count) { if (type.IsClass) { var defn = GR2.LookupStructDefinition(type); if (defn.MixedMarshal) { AddMixedMarshalling(o, count, defn); } } }