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