Marek Safar
185743cacd
Rewrite of async StreamReader/StreamWritter operations to not fail on subsequent async call. Fixes #9761
2013-02-01 18:29:54 +01:00
Marek Safar
7b51bb0cb1
Implement stream async methods
2011-09-28 08:09:33 +01:00
Marek Safar
88cb78c323
Clean up mixed tabs and spaces
2011-09-26 22:37:14 +01:00
Miguel de Icaza
0204abe803
Drop more obsolete defines
...
svn path=/trunk/mcs/; revision=144304
2009-10-17 01:35:27 +00:00
Sebastien Pouliot
3b3c977ed0
2008-08-21 Sebastien Pouliot <[email protected] >
...
* FileStream.cs: Adjust exception being thrown for Silverlight 2.0.
* FileSystemInfo.cs: In Silverlight 2 this type does not inherit from
MarshalByRefObject nor does it implement ISerializable.
* Stream.cs: In Silverlight 2 this type does not inherit from
MarshalByRefObject.
* TextReader.cs: In Silverlight 2 this type does not inherit from
MarshalByRefObject.
* TextWriter.cs: In Silverlight 2 this type does not inherit from
MarshalByRefObject.
* UnmanagedMemoryStream.cs: For Silverlight 2 add CLSCompliant(false)
to the PositionPointer property.
svn path=/trunk/mcs/; revision=111271
2008-08-21 15:40:33 +00:00
Andreas N
b7ebfaf624
2008-07-03 Andreas Nahr <[email protected] >
...
* TextWriter.cs:
* StreamWriter.cs:
* StreamReader.cs:
* Stream.cs:
* MemoryStream.cs:
* File.cs:
* DriveNotFoundException.cs:
* Directory.cs: Fix parameter names
svn path=/trunk/mcs/; revision=107182
2008-07-03 20:00:51 +00:00
Miguel de Icaza
e12b3020bc
A few more changes from Jesse Jones, use SupressFinalize on
...
Dispose(true) cases
svn path=/trunk/mcs/; revision=82916
2007-07-28 16:10:50 +00:00
Dick Porter
5b79519900
2007-04-30 Dick Porter <[email protected] >
...
* Directory.cs:
* FileShare.cs:
* DirectoryNotFoundException.cs:
* SeekOrigin.cs:
* FileAttributes.cs:
* IOException.cs:
* MemoryStream.cs:
* FileMode.cs:
* BinaryWriter.cs:
* TextWriter.cs:
* File.cs:
* BinaryReader.cs:
* TextReader.cs:
* UnmanagedMemoryStream.cs:
* StringWriter.cs:
* FileAccess.cs:
* FileLoadException.cs:
* BufferedStream.cs:
* Stream.cs:
* FileInfo.cs:
* FileStream.cs:
* StringReader.cs:
* StreamWriter.cs:
* EndOfStreamException.cs:
* DriveInfo.cs:
* StreamReader.cs:
* PathTooLongException.cs:
* DriveType.cs:
* FileNotFoundException.cs: 2.0 profile updates
svn path=/trunk/mcs/; revision=76495
2007-04-30 14:05:12 +00:00
Gonzalo Paniagua Javier
dbb4351624
2006-01-27 Gonzalo Paniagua Javier <[email protected] >
...
* TextWriter.cs: Dispose () is public in 2.0.
svn path=/trunk/mcs/; revision=56176
2006-01-27 18:43:47 +00:00
Ben Maurer
f1bbad63e1
In Test/System.IO:
...
2006-01-13 Ben Maurer <[email protected] >
* TextWriterTest.cs: Make sure TextWriter calls the char[],int,int
overload when calling the char[].
In System.IO:
2006-01-13 Ben Maurer <[email protected] >
* TextWriter.cs: Call char[],int,int from the Write(char[]) method
both for msft compat and for performance. Thanks to "Mike Glenn"
<[email protected] > for pointing.
svn path=/trunk/mcs/; revision=55513
2006-01-13 15:16:01 +00:00
Ben Maurer
2cac9d1d6b
eol style
...
svn path=/trunk/mcs/; revision=46462
2005-06-23 23:11:11 +00:00
Atsushi Eno
95efb4592a
2004-12-06 Atsushi Enomoto <[email protected] >
...
* TextWriter.cs : create CoreNewLine in another .ctor().
svn path=/trunk/mcs/; revision=37164
2004-12-06 04:43:04 +00:00
Ben Maurer
11139767ac
2004-12-05 Ben Maurer <[email protected] >
...
* TextWriter.cs (WriteLine): Use CoreNewLine so that this does
not make a string out of the array every time it is called.
Thanks to Atsushi for the idea.
svn path=/trunk/mcs/; revision=37161
2004-12-05 23:53:20 +00:00
Gert Driesen
0d5fadd9d0
* MemoryStream.cs: added TODO for serialization
...
* StringWriter.cs: added TODO for serialization
* TextWriter.cs: fixed CoreNewLine to return char[]
svn path=/trunk/mcs/; revision=29619
2004-06-15 17:51:32 +00:00
Duncan Mak
13d1764537
Add license and copyright to all source files in corlib
...
svn path=/trunk/mcs/; revision=29249
2004-06-11 02:09:36 +00:00
Sebastien Pouliot
1ca4636760
2004-05-26 Sebastien Pouliot <[email protected] >
...
* BufferedStream.cs: Added globalization and fixed exceptions and
possible integer overflow.
* TextWriter.cs: Fixed possible integer overflow.
svn path=/trunk/mcs/; revision=28172
2004-05-26 17:04:43 +00:00
Marek Safar
17b718a094
Removed useless [CLSCompliant(false)]
...
svn path=/trunk/mcs/; revision=27314
2004-05-13 22:28:44 +00:00
Miguel de Icaza
2e77952b32
Sencond part of the patch
...
svn path=/trunk/mcs/; revision=26222
2004-04-28 23:49:52 +00:00
Lluis Sanchez
b1f6ebcee7
* FileSystemInfo.cs: Added InternalRefresh, a virtual method that derived
...
classes can override to perform class specific refreshing.
* FileInfo.cs: Refresh existence flag when Refresh is called.
* TextWriter.cs: Applied patch by Benjamin Jemlich for bug #52512 .
The method Write(char) should do nothing by default.
svn path=/trunk/mcs/; revision=24901
2004-04-01 13:29:53 +00:00
Paolo Molaro
837286e7d5
Tue Jan 20 23:10:22 CET 2004 Paolo Molaro <[email protected] >
...
* StreamWriter.cs, TextWriter.cs: comply with the documented
behaviour and use a decode buffer to improve performance.
svn path=/trunk/mcs/; revision=22315
2004-01-20 22:03:00 +00:00
Miguel de Icaza
62012c26d0
2003-04-05 Miguel de Icaza <[email protected] >
...
* Console.cs: Make stderr, stdout and stdin use synchronized
versions of the their readers/writers.
2003-03-20 Miguel de Icaza <[email protected] >
* Thread.cs (CurrentCuluture): use the invaraint culture instead
of "" for the current_culture setting.
2003-04-05 Miguel de Icaza <[email protected] >
* TextWriter.cs: Implemented Synchronized method.
* TextReader.cs: Implemented Synchronized method.
svn path=/trunk/mcs/; revision=13203
2003-04-05 19:00:53 +00:00
Miguel de Icaza
685ae9720b
2002-09-16 Miguel de Icaza <[email protected] >
...
* TextWriter.cs (Null): The Null field should be an instance of a
TextWriter class that does nothing, so it is an instance of the
NullTextWriter class.
svn path=/trunk/mcs/; revision=7529
2002-09-16 23:45:37 +00:00
Gonzalo Paniagua Javier
5bf2383288
2002-08-27 Gonzalo Paniagua Javier <[email protected] >
...
* System.IO/BinaryReader.cs:
* System.IO/BinaryWriter.cs:
* System.IO/MemoryStream.cs:
* System.IO/StreamReader.cs:
* System.IO/StreamWriter.cs:
* System.IO/StringReader.cs:
* System.IO/StringWriter.cs:
* System.IO/TextWriter.cs:
* System.Threading/WaitHandle.cs: IDisposable fixes.
svn path=/trunk/mcs/; revision=7118
2002-08-28 02:30:47 +00:00
Piers Haken
9e63489461
Miscellaneous minor compliancy fixes:
...
* System/System/UriBuilder.cs: use visible EscapeString
* corlib/System.Reflection/ManifestResourceInfo.cs: constructor access, define fields
* corlib/System/Convert.cs: remove erroneous CLSCompliant attributes
* corlib/System/Math.cs: remove erroneous CLSCompliant attribute
Fix enum values:
* System/System.CodeDom/CodeBinaryOperatorType.cs
* System/System.Net.Sockets/ProtocolFamily.cs
* corlib/System.Globalization/CultureTypes.cs
* corlib/System.Reflection/FieldAttributes.cs
* corlib/System.Runtime.InteropServices/AssemblyRegistrationFlags.cs
* corlib/System.Security.Cryptography/CipherMode.cs
* corlib/System.Security.Cryptography/CspProviderFlags.cs
* corlib/System.Security.Cryptography/PaddingMode.cs
* corlib/System.Security.Permissions/IsolatedStorageContainment.cs
* corlib/System.Security.Permissions/ReflectionPermissionFlag.cs
* corlib/System.Security.Permissions/SecurityPermissionFlag.cs
* corlib/System.Security/PolicyLevelType.cs
* corlib/System.Security/SecurityZone.cs
* corlib/System/AttributeTargets.cs
* corlib/System/Environment.cs
Remove redundant overrides:
* corlib/System.Reflection.Emit/EnumBuilder.cs
* corlib/System.Reflection.Emit/TypeBuilder.cs
* corlib/System/MissingFieldException.cs
* corlib/System/MissingMemberException.cs
* corlib/System/MissingMethodException.cs
Fix visibility and access modifiers:
* System/System.CodeDom.Compiler/CodeGenerator.cs
* System/System.Collections.Specialized/NameObjectCollectionBase.cs
* System/System.Collections.Specialized/NameValueCollection.cs
* System/System.ComponentModel/EventDescriptor.cs
* System/System.ComponentModel/EventDescriptorCollection.cs
* System/System.Diagnostics/ProcessStartInfo.cs
* System/System.Net/DnsPermission.cs
* System/System.Net/SocketPermission.cs
* System/System/Uri.cs
* corlib/System.IO/StreamReader.cs
* corlib/System.IO/StringReader.cs
* corlib/System.IO/StringWriter.cs
* corlib/System.IO/TextWriter.cs
* corlib/System.Reflection.Emit/ConstructorBuilder.cs
* corlib/System.Reflection.Emit/MethodBuilder.cs
* corlib/System.Reflection.Emit/OpCodes.cs
* corlib/System.Reflection/Assembly.cs
* corlib/System.Runtime.Remoting.Messaging/ReturnMessage.cs
* corlib/System.Runtime.Serialization/SerializationException.cs
* corlib/System/Activator.cs
* corlib/System/Array.cs
* corlib/System/Boolean.cs
* corlib/System/Byte.cs
* corlib/System/Char.cs
* corlib/System/DateTime.cs
* corlib/System/DivideByZeroException.cs
* corlib/System/Double.cs
* corlib/System/Int16.cs
* corlib/System/Int32.cs
* corlib/System/Int64.cs
* corlib/System/SByte.cs
* corlib/System/Single.cs
* corlib/System/Type.cs
* corlib/System/UInt16.cs
* corlib/System/UInt32.cs
* corlib/System/UInt64.cs
Fix IDisposable, Dispose() mess
* corlib/System.IO/BinaryWriter.cs
* corlib/System.IO/BufferedStream.cs
* corlib/System.IO/FileStream.cs
* corlib/System.IO/MemoryStream.cs
* corlib/System.IO/Stream.cs
svn path=/trunk/mcs/; revision=4416
2002-05-08 13:21:13 +00:00
Duncan Mak
cfacf6bed3
Fix typos.
...
svn path=/trunk/mcs/; revision=4183
2002-05-01 00:19:06 +00:00
Duncan Mak
6164d8a0ce
2002-04-30 Duncan Mak <[email protected] >
...
* FileLoadException.cs (constructors): Added missing (string,
string) ctor, as well as (string, string, Exception) ctor.
(Message): Added more info to the error message
(ToString): Added. We'll need to add the StackTrace stuff when
that works.
* FileShare.cs: Add a missing field, Inheritable.
* TextReader.cs: Renamed Synchronised method to Synchronized.
* TextWriter.cs: Renamed Synchronised method to Synchronized.
Renamed protected member coreNewLine to CoreNewLine.
svn path=/trunk/mcs/; revision=4182
2002-05-01 00:13:08 +00:00
Piers Haken
610d7923ac
added missing [Serializable] attribute
...
svn path=/trunk/mcs/; revision=3540
2002-04-01 20:22:40 +00:00
Dietmar Maurer
d7de82d61d
2002-03-28 Dietmar Maurer <[email protected] >
...
* TextWriter.cs (write): added check for null
svn path=/trunk/mcs/; revision=3511
2002-03-30 06:52:09 +00:00
Ravi Pratap M
de8d750995
2002-01-04 Ravi Pratap <[email protected] >
...
* CheckArgument.cs, CheckPermission.cs, Directory.cs: MonoTODO
attribute decorations.
* DirectoryInfo.cs, File.cs, FileInfo.cs, FileSystemInfo.cs,
Path.cs, TextReader.cs, TextWriter.cs : Ditto.
* FileLoadException.cs, FileNotFoundException.cs, StreamReader.cs:
Ditto.
svn path=/trunk/mcs/; revision=1832
2002-01-04 15:46:38 +00:00
Paolo Molaro
c441fe5cc6
Wed Nov 14 16:30:27 CET 2001 Paolo Molaro <[email protected] >
...
* Linux.cs: a '/' is a valid char in a file path.
Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <[email protected] >
* AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
* Array.cs: fix Array.Copy.
* AssemblyLoadEventArgs.cs: rename field.
* CLSCompliantAttribute.cs: use correct name for the class.
* Char.cs: fix IsLetter.
* Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
* Convert.cs: CLSCompliant updates, add ChangeType() methods.
* Delegate.cs: renamed target field to m_target.
* Enum.cs: added missing methods.
* MonoType.cs: add a constructor and some needed properties.
* Object.cs: implement GetType().
* String.cs: CLSCompliant updates. Fixes everywhere to remove the
ending 0 char.
* Type.cs: add missing methods/properties.
Wed Nov 14 16:45:49 CET 2001 Paolo Molaro <[email protected] >
* ArrayList.cs: implement ArrayListEnumerator.
* Hashtable.cs: hardcode the prime number table.
Wed Nov 14 16:47:07 CET 2001 Paolo Molaro <[email protected] >
* Calendar.cs: CLSCompliant updates.
Wed Nov 14 16:47:47 CET 2001 Paolo Molaro <[email protected] >
* CheckPermission.cs: disable ModeAccess() code: it's wrong.
* FileStream.cs: only trow an exception if the read failed in ReadByte().
* StreamReader.cs: implement Peek and Read.
* TextWriter.cs: CLSCompliant updates.
Wed Nov 14 16:53:28 CET 2001 Paolo Molaro <[email protected] >
* Assembly.cs: implement some of the Load() methods.
* ConstructorInfo.cs: some missing stubs and fields.
* FieldInfo.cs: IsInitOnly property.
* ParameterInfo.cs: stubs for missing properties.
* ParameterModifier.cs: implemented class.
Wed Nov 14 17:01:45 CET 2001 Paolo Molaro <[email protected] >
* ConstructorBuilder.cs: added missing stubs and some implementation.
* CustomAttributeBuilder.cs: added.
* EventBuilder.cs: added.
* FieldBuilder.cs: updates.
* MethodBuilder.cs: stuff to implement P/Invoke methods.
* ModuleBuilder.cs: added GetArrayMethod() stub.
* ParameterBuilder.cs, PropertyBuilder.cs: updates.
* TypeBuilder.cs: updates and stubs.
Wed Nov 14 17:02:57 CET 2001 Paolo Molaro <[email protected] >
* CallingConvention.cs: add missing Winapi.
Wed Nov 14 17:03:30 CET 2001 Paolo Molaro <[email protected] >
* IFormatterConverter.cs, SerializationInfo.cs: CLSCompliant updates.
Wed Nov 14 17:04:30 CET 2001 Paolo Molaro <[email protected] >
* MD5CryptoServiceProvider.cs, SHA1CryptoServiceProvider.cs,
SHA256Managed.cs: CLSCompliant updates.
Wed Nov 14 17:05:22 CET 2001 Paolo Molaro <[email protected] >
* Encoding.cs: renamed some fields.
* StringBuilder.cs: CLSCompliant updates.
Wed Nov 14 17:06:18 CET 2001 Paolo Molaro <[email protected] >
* Overlapped.cs, ThreadPool.cs, Timer.cs: CLSCompliant updates.
svn path=/trunk/mcs/; revision=1351
2001-11-14 15:18:05 +00:00
Dietmar Maurer
9de03899f8
2001-08-28 Dietmar Maurer <[email protected] >
...
* Console.cs: impl. (write only)
* Int32.cs: impl. real op_Equal
* UTF8Encoding.cs: impl. clumsy GetBytes
* StreamWriter.cs: impl.
* TextWriter.cs: implemented Write and WriteLine methods
svn path=/trunk/mcs/; revision=654
2001-08-28 10:37:08 +00:00
Miguel de Icaza
4dc202d35e
2001-07-16 Marcin Szczepanski <[email protected] >
...
* StringReader.cs, StringWriter.cs, TextReader.cs, TextWriter.cs:
New class implemenations.
* StringReaderTest.cs, StringWriterTest.cs: Test suite for the above.
2001-07-16 Marcin Szczepanski <[email protected] >
* StringBuilder.cs (Text): Fixed.
* StringBuilderTest.cs: Implement Test suite.
svn path=/trunk/mcs/; revision=184
2001-07-16 22:01:34 +00:00