Skip to content

Commit 589a094

Browse files
committed
refactor: remove IDisposable from ref structs and clean up csproj
1 parent 0d7e90e commit 589a094

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

KeyAsio.Memory/KeyAsio.Memory.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<Nullable>enable</Nullable>
77
<Platforms>AnyCPU;x64</Platforms>
88
<PlatformTarget>x64</PlatformTarget>
9-
<LangVersion>14</LangVersion>
109
</PropertyGroup>
1110

1211
<ItemGroup>

KeyAsio.Memory/Utils/HighPrecisionTimerScope.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace KeyAsio.Memory.Utils;
44

5-
public ref struct HighPrecisionTimerScope : IDisposable
5+
public ref struct HighPrecisionTimerScope
66
{
77
private bool _disposed;
88

KeyAsio.Memory/Utils/ValueListBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace KeyAsio.Memory.Utils;
1414
/// to return the buffer to the shared <see cref="ArrayPool{T}"/>. This type is
1515
/// not thread-safe and must not be used across async/await boundaries.
1616
/// </remarks>
17-
public ref struct ValueListBuilder<T> : IDisposable
17+
public ref struct ValueListBuilder<T>
1818
{
1919
private Span<T> _span;
2020
private T[]? _arrayFromPool;

0 commit comments

Comments
 (0)