Skip to content

Commit

Permalink
Fix #if directive
Browse files Browse the repository at this point in the history
  • Loading branch information
hadashiA committed Nov 17, 2023
1 parent 20d0ec0 commit 93b2cc9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace System.Runtime.CompilerServices;

/// <summary>Provides a handler used by the language compiler to process interpolated strings into <see cref="string"/> instances.</summary>
[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,
Expand Down
15 changes: 0 additions & 15 deletions src/ZLogger/Internal/Shims/MemoryMarshal.cs

This file was deleted.

6 changes: 3 additions & 3 deletions src/ZLogger/Internal/Shims/Shims.NetStandard2.cs
Original file line number Diff line number Diff line change
@@ -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<char> chars, ReadOnlySpan<byte> bytes)
{
Expand Down Expand Up @@ -33,4 +33,4 @@ public static unsafe ReadOnlySpan<T> CreateReadOnlySpan<T>(ref T value, int leng
}
}
}
//#endif
#endif

0 comments on commit 93b2cc9

Please sign in to comment.