Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/ImageSharp.Drawing/ImageSharp.Drawing.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
<None Include="..\..\shared-infrastructure\branding\icons\imagesharp.drawing\sixlabors.imagesharp.drawing.128.png" Pack="true" PackagePath="" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="SixLabors.Fonts" Version="3.0.0-alpha.0.48" />
<PackageReference Include="SixLabors.ImageSharp" Version="4.0.0-alpha.0.106" />
<PackageReference Include="SixLabors.PolygonClipper" Version="1.0.0-alpha.0.58" />
<PackageReference Include="SixLabors.Fonts" Version="3.0.0" />
<PackageReference Include="SixLabors.ImageSharp" Version="4.0.0" />
<PackageReference Include="SixLabors.PolygonClipper" Version="1.0.0" />
</ItemGroup>

<Import Project="..\..\shared-infrastructure\src\SharedInfrastructure\SharedInfrastructure.projitems" Label="Shared" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ internal class TestMemoryAllocator : MemoryAllocator

protected internal override int GetBufferCapacityInBytes() => this.BufferCapacityInBytes;

public override IMemoryOwner<T> Allocate<T>(int length, AllocationOptions options = AllocationOptions.None)
protected override AllocationTrackedMemoryManager<T> AllocateCore<T>(int length, AllocationOptions options = AllocationOptions.None)
{
T[] array = this.AllocateArray<T>(length, options);
return new BasicArrayBuffer<T>(array, length, this);
Expand Down Expand Up @@ -95,7 +95,7 @@ public struct ReturnRequest
/// <summary>
/// Wraps an array as an <see cref="IManagedByteBuffer"/> instance.
/// </summary>
private class BasicArrayBuffer<T> : MemoryManager<T>
private class BasicArrayBuffer<T> : AllocationTrackedMemoryManager<T>
where T : struct
{
private readonly TestMemoryAllocator allocator;
Expand Down Expand Up @@ -140,7 +140,7 @@ public override unsafe MemoryHandle Pin(int elementIndex = 0)
public override void Unpin() => throw new NotImplementedException();

/// <inheritdoc />
protected override void Dispose(bool disposing)
protected override void DisposeCore(bool disposing)
{
if (disposing)
{
Expand Down
Loading