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

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSantiago Fernandez Madero <safern@microsoft.com>2017-08-26 07:39:19 +0300
committerJan Kotas <jkotas@microsoft.com>2017-08-26 08:26:55 +0300
commit550954b263310b507fdea896b3c54a3c482413e9 (patch)
treec6fd3d5be216f77dca12212e642308a52ed17317 /src/System.Private.CoreLib/shared/System/IO/FileStream.WinRT.cs
parent872ddb1753224a102380296f5e9219f5e0ce864e (diff)
Use CreateFile2 instead of CreateFile2FromApp (dotnet/coreclr#13595) (#13607)
* Use CreateFile2 instead of CreateFile2FromApp * Feedback fixes Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/IO/FileStream.WinRT.cs')
-rw-r--r--src/System.Private.CoreLib/shared/System/IO/FileStream.WinRT.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/System.Private.CoreLib/shared/System/IO/FileStream.WinRT.cs b/src/System.Private.CoreLib/shared/System/IO/FileStream.WinRT.cs
index 09e7f64be..75d264ae4 100644
--- a/src/System.Private.CoreLib/shared/System/IO/FileStream.WinRT.cs
+++ b/src/System.Private.CoreLib/shared/System/IO/FileStream.WinRT.cs
@@ -39,7 +39,7 @@ namespace System.IO
using (DisableMediaInsertionPrompt.Create())
{
- return ValidateFileHandle(Interop.FileApiInterop.CreateFile2FromApp(
+ return ValidateFileHandle(Interop.FileApiInterop.CreateFile2(
lpFileName: _path,
dwDesiredAccess: access,
dwShareMode: share,