# Patch created by Chris # Date: Sat Jul 17 04:01:24 CST 2004 # Repository: vspnetlib # Comments: # # The Array type doesn't have an indexer. Use GetValue() instead #### End of Preamble #### #### Patch data follows #### Index: runtime/System/Runtime/Serialization/Formatters/Binary/BinaryValueWriter.cs =================================================================== RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/Serialization/Formatters/Binary/BinaryValueWriter.cs,v retrieving revision 1.10 diff -c -r1.10 BinaryValueWriter.cs *** runtime/System/Runtime/Serialization/Formatters/Binary/BinaryValueWriter.cs 17 May 2004 15:31:01 -0000 1.10 --- runtime/System/Runtime/Serialization/Formatters/Binary/BinaryValueWriter.cs 17 Jul 2004 09:02:44 -0000 *************** *** 1559,1565 **** int length = ar.GetLength(0); for(int i = 0; i < length; i++) { ! if(ar[i] == null) { // Write a null value. context.writer.Write --- 1559,1565 ---- int length = ar.GetLength(0); for(int i = 0; i < length; i++) { ! if(ar.GetValue(i) == null) { // Write a null value. context.writer.Write *************** *** 1570,1576 **** BinaryValueWriter writer = GetWriter(context, type.GetElementType()); if(writer != null) { ! writer.WriteInline(context, ar[i], ar[i].GetType(), type); } else { --- 1570,1576 ---- BinaryValueWriter writer = GetWriter(context, type.GetElementType()); if(writer != null) { ! writer.WriteInline(context, ar.GetValue(i), ar.GetValue(i).GetType(), type); } else { #### End of Patch data ####