summaryrefslogtreecommitdiff
path: root/mcs/class/corlib/System.IO/Path.cs
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/corlib/System.IO/Path.cs')
-rw-r--r--mcs/class/corlib/System.IO/Path.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/mcs/class/corlib/System.IO/Path.cs b/mcs/class/corlib/System.IO/Path.cs
index 3eeb79195b..a1a6d12130 100644
--- a/mcs/class/corlib/System.IO/Path.cs
+++ b/mcs/class/corlib/System.IO/Path.cs
@@ -289,9 +289,8 @@ namespace System.IO {
return fullpath;
}
- [DllImport("Kernel32.dll", SetLastError = true, CharSet = CharSet.Unicode)]
// http://msdn.microsoft.com/en-us/library/windows/desktop/aa364963%28v=vs.85%29.aspx
- // http://www.codeproject.com/Tips/223321/Win32-API-GetFullPathName
+ [DllImport("Kernel32.dll", SetLastError = true, CharSet = CharSet.Unicode)]
private static extern int GetFullPathName(string path, int numBufferChars, StringBuilder buffer, ref IntPtr lpFilePartOrNull);
internal static string GetFullPathName(string path)