public override void WriteAssemblies (ObjectWriter ow, BinaryWriter writer) { foreach (FieldInfo field in members) { Type type = field.FieldType; while (type.IsArray) type = type.GetElementType(); ow.WriteTypeAssembly (writer, type); } }
public override void WriteAssemblies (ObjectWriter ow, BinaryWriter writer) { foreach (Type mtype in types) { Type type = mtype; while (type.IsArray) type = type.GetElementType(); ow.WriteTypeAssembly (writer, type); } }