From e1b51aacc295efdc3518d1f7f01a895fe74e278e Mon Sep 17 00:00:00 2001 From: Alex Perovich Date: Fri, 3 Mar 2017 23:44:12 -0600 Subject: [PATCH] Remove unreferenced file (dotnet/coreclr#9952) Commit migrated from https://github.com/dotnet/coreclr/commit/6bf345c219690328bd839e7719af36dc98c2c9d6 --- .../Unix/System.Native/Interop.GetUnixName.cs | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 src/coreclr/src/mscorlib/shared/Interop/Unix/System.Native/Interop.GetUnixName.cs diff --git a/src/coreclr/src/mscorlib/shared/Interop/Unix/System.Native/Interop.GetUnixName.cs b/src/coreclr/src/mscorlib/shared/Interop/Unix/System.Native/Interop.GetUnixName.cs deleted file mode 100644 index 33664c4..0000000 --- a/src/coreclr/src/mscorlib/shared/Interop/Unix/System.Native/Interop.GetUnixName.cs +++ /dev/null @@ -1,21 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -using System; -using System.Runtime.InteropServices; - -internal static partial class Interop -{ - internal static partial class Sys - { - [DllImport(Libraries.SystemNative, EntryPoint = "SystemNative_GetUnixName")] - private static extern IntPtr GetUnixNamePrivate(); - - internal static string GetUnixName() - { - IntPtr ptr = GetUnixNamePrivate(); - return Marshal.PtrToStringAnsi(ptr); - } - } -} -- 2.7.4