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:
Diffstat (limited to 'src/System.Private.Interop/src/Interop/Interop.Common.Windows.cs')
-rw-r--r--src/System.Private.Interop/src/Interop/Interop.Common.Windows.cs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/System.Private.Interop/src/Interop/Interop.Common.Windows.cs b/src/System.Private.Interop/src/Interop/Interop.Common.Windows.cs
index 46c5696e7..7d9c26bb9 100644
--- a/src/System.Private.Interop/src/Interop/Interop.Common.Windows.cs
+++ b/src/System.Private.Interop/src/Interop/Interop.Common.Windows.cs
@@ -32,13 +32,6 @@ namespace System.Runtime.InteropServices
internal const string CORE_DEBUG = "kernel32.dll";
#endif //TARGET_CORE_API_SET
}
-#if CORECLR
-
- internal static int GetLastWin32Error()
- {
- return 0;
- }
-#else
[DllImport(Libraries.CORE_DEBUG, EntryPoint = "OutputDebugStringW")]
[McgGeneratedNativeCallCodeAttribute]
@@ -51,6 +44,5 @@ namespace System.Runtime.InteropServices
OutputDebugString(pOutputString);
}
}
-#endif
}
}