diff --git a/src/ZLogger/Internal/Shims/DefaultInterpolatedStringHandler.cs b/src/ZLogger/Internal/Shims/DefaultInterpolatedStringHandler.cs
index 0d38f9ab..89b522f0 100644
--- a/src/ZLogger/Internal/Shims/DefaultInterpolatedStringHandler.cs
+++ b/src/ZLogger/Internal/Shims/DefaultInterpolatedStringHandler.cs
@@ -7,7 +7,7 @@ namespace System.Runtime.CompilerServices;
/// Provides a handler used by the language compiler to process interpolated strings into instances.
[InterpolatedStringHandler]
-public ref struct DefaultInterpolatedStringHandler
+internal ref struct DefaultInterpolatedStringHandler
{
// Implementation note:
// As this type lives in CompilerServices and is only intended to be targeted by the compiler,
diff --git a/src/ZLogger/Internal/Shims/MemoryMarshal.cs b/src/ZLogger/Internal/Shims/MemoryMarshal.cs
deleted file mode 100644
index 6ddb0581..00000000
--- a/src/ZLogger/Internal/Shims/MemoryMarshal.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-// #if NETSTANDARD2_0
-// namespace System.Runtime.InteropServices;
-//
-// public static class MemoryMarshal
-// {
-// // public static unsafe ref T GetReference(ReadOnlySpan span) where T : unmanaged
-// // {
-// // fixed (T* pointer = &span[0])
-// // {
-// // return pointer;
-// // }
-// // }
-// //
-// }
-// #endif
\ No newline at end of file
diff --git a/src/ZLogger/Internal/Shims/Shims.NetStandard2.cs b/src/ZLogger/Internal/Shims/Shims.NetStandard2.cs
index 6836dd40..bdee78bc 100644
--- a/src/ZLogger/Internal/Shims/Shims.NetStandard2.cs
+++ b/src/ZLogger/Internal/Shims/Shims.NetStandard2.cs
@@ -1,9 +1,9 @@
-//#if NETSTANDARD2_0
+#if NETSTANDARD2_0
using System.Text;
namespace ZLogger;
-internal static partial class Shims
+internal static partial class Shims
{
public static int GetBytes(this Encoding encoding, ReadOnlySpan chars, ReadOnlySpan bytes)
{
@@ -33,4 +33,4 @@ public static unsafe ReadOnlySpan CreateReadOnlySpan(ref T value, int leng
}
}
}
-//#endif
\ No newline at end of file
+#endif