diff --git a/src/Microsoft.PowerShell.LocalAccounts/LocalAccounts/Native.cs b/src/Microsoft.PowerShell.LocalAccounts/LocalAccounts/Native.cs
index 607166b6f..4a085d786 100644
--- a/src/Microsoft.PowerShell.LocalAccounts/LocalAccounts/Native.cs
+++ b/src/Microsoft.PowerShell.LocalAccounts/LocalAccounts/Native.cs
@@ -179,73 +179,6 @@ namespace System.Management.Automation.SecurityAccountsManager.Native
#pragma warning restore 0649, 0169
#endregion Structures
- ///
- /// Wraps calls to Marshal functions that differ between .Net 4.5 and CoreCLR. .Net 4.5.1 types are not allowed for PowerShell.
- ///
- internal class ClrFacade
- {
- ///
- /// Private constructor to prevent auto-generation of a default constructor
- ///
- private ClrFacade()
- {
- }
-
- ///
- /// Facade for Marshal.SizeOf
- ///
- internal static int SizeOf()
- {
-#if CORECLR
- // Marshal.SizeOf(Type) is obsolete in CoreCLR
- return Marshal.SizeOf();
-#else
- return Marshal.SizeOf(typeof(T));
-#endif
- }
-
- ///
- /// Facade for Marshal.DestroyStructure
- ///
- internal static void DestroyStructure(IntPtr ptr)
- {
-#if CORECLR
- // Marshal.DestroyStructure(IntPtr, Type) is obsolete in CoreCLR
- Marshal.DestroyStructure(ptr);
-#else
- Marshal.DestroyStructure(ptr, typeof(T));
-#endif
- }
-
- ///
- /// Facade for Marshal.PtrToStructure
- ///
- internal static T PtrToStructure(IntPtr ptr)
- {
-#if CORECLR
- // Marshal.PtrToStructure(IntPtr, Type) is obsolete in CoreCLR
- return Marshal.PtrToStructure(ptr);
-#else
- return (T)Marshal.PtrToStructure(ptr, typeof(T));
-#endif
- }
-
- ///
- /// Wraps Marshal.StructureToPtr to hide differences between the CLRs.
- ///
- internal static void StructureToPtr(
- T structure,
- IntPtr ptr,
- bool deleteOld)
- {
-#if CORECLR
- Marshal.StructureToPtr( structure, ptr, deleteOld );
-#else
- Marshal.StructureToPtr(structure, ptr, deleteOld);
-#endif
- }
- }
-
internal static class Win32
{
#region Constants