* ResourceWriter.cs: Implement 4.0 AddResource overloads taking a
Stream, as well as implement the same support in our AddResource that
takes an object too.
svn path=/trunk/mcs/; revision=159930
* ResourceWriter.cs: The magic internal type here is required to match
Microsofts for SL2 resource deserialization.
svn path=/trunk/mcs/; revision=131919
enum as a predefined type. Fixes bug #325223.
* ResourceWriterTest.cs: Enabled test for writing enum value on 2.0
profile.
svn path=/trunk/mcs/; revision=94016
overloads. Added test for argument null checks. Added test for bug
#339074. Added test for invoking Generate () multiple times.
* ResourceWriter.cs: On 2.0 profile, use case-insensitive SortedList.
Changed exception messages and params to match MS. Allow null values
in AddResource overloads. In Dispose (bool), also generate resources
(header) if no resources were added. Fixes bug #339074. When Generate
is done, reset resources to null to prevent further editing. This
also avoids the need for a separate bool to indicate whether generate
was already invoked. Code formatting.
svn path=/trunk/mcs/; revision=89412
* ResourceReader.cs: If a resource type index is -1 return null
instead of throwing an exception
* ResourceWriter.cs: If an object is null; encode it with type index
-1 instead of throwing an exception.
svn path=/trunk/mcs/; revision=40569
* MonoType.cs: Add a space before the Assembly name in
AssemblyQualifiedName (needed for resource files so the MS runtime
can load types)
2002-08-19 Dick Porter <[email protected]>
* BinaryWriter.cs: The length of a string is counted in bytes, not
chars
2002-08-19 Dick Porter <[email protected]>
* ResourceWriter.cs: Implemented all methods
* ResourceReader.cs: Cope with our ResourceSet class name, as well
as theirs
svn path=/trunk/mcs/; revision=6748