Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs/class
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2010-06-17 03:27:36 +0400
committerMiguel de Icaza <miguel@gnome.org>2010-06-17 03:27:36 +0400
commit150a9e53630d5d7b563fe77aeb0657e8c374f4c3 (patch)
tree4bc5a378d1afcfe456c3399608632946229cf070 /mcs/class
parent27da4cfa634dd6f47f333bed609244376b01cf74 (diff)
Fix for 613226
svn path=/branches/mono-2-6/mcs/; revision=159040
Diffstat (limited to 'mcs/class')
-rw-r--r--mcs/class/corlib/System.IO/FileStream.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/corlib/System.IO/FileStream.cs b/mcs/class/corlib/System.IO/FileStream.cs
index 273db9cb603..20ac147acec 100644
--- a/mcs/class/corlib/System.IO/FileStream.cs
+++ b/mcs/class/corlib/System.IO/FileStream.cs
@@ -145,7 +145,7 @@ namespace System.IO
}
public FileStream (string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, bool useAsync)
- : this (path, mode, access, share, bufferSize, useAsync, FileOptions.None)
+ : this (path, mode, access, share, bufferSize, useAsync ? FileOptions.Asynchronous : FileOptions.None)
{
}