Skip to content

Commit 296e916

Browse files
committed
Tweaked some using directives
1 parent a90866d commit 296e916

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Microsoft.Toolkit.HighPerformance/Extensions/ReadOnlySpanExtensions.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
using System.Runtime.InteropServices;
99
using Microsoft.Toolkit.HighPerformance.Enumerables;
1010
using Microsoft.Toolkit.HighPerformance.Helpers.Internals;
11+
#if SPAN_RUNTIME_SUPPORT
1112
using Microsoft.Toolkit.HighPerformance.Memory;
13+
#endif
1214

1315
namespace Microsoft.Toolkit.HighPerformance.Extensions
1416
{

Microsoft.Toolkit.HighPerformance/Extensions/SpanExtensions.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
using System.Runtime.InteropServices;
99
using Microsoft.Toolkit.HighPerformance.Enumerables;
1010
using Microsoft.Toolkit.HighPerformance.Helpers.Internals;
11+
#if SPAN_RUNTIME_SUPPORT
1112
using Microsoft.Toolkit.HighPerformance.Memory;
13+
#endif
1214

1315
namespace Microsoft.Toolkit.HighPerformance.Extensions
1416
{

0 commit comments

Comments
 (0)