From 73bdbd800df6e6c9276ea2484457d34bb6d6d992 Mon Sep 17 00:00:00 2001 From: Ynse Hoornenborg Date: Thu, 14 Mar 2024 21:01:56 +0100 Subject: [PATCH] Make some classes internal --- src/ImageSharp/Formats/Heif/HeifItem.cs | 2 +- src/ImageSharp/Formats/Heif/HeifItemLink.cs | 2 +- src/ImageSharp/Formats/Heif/HeifLocation.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ImageSharp/Formats/Heif/HeifItem.cs b/src/ImageSharp/Formats/Heif/HeifItem.cs index 60f26df3ff..25e6bb2988 100644 --- a/src/ImageSharp/Formats/Heif/HeifItem.cs +++ b/src/ImageSharp/Formats/Heif/HeifItem.cs @@ -6,7 +6,7 @@ namespace SixLabors.ImageSharp.Formats.Heif; /// /// Provides definition for a HEIF Item. /// -public class HeifItem(Heif4CharCode type, uint id) +internal class HeifItem(Heif4CharCode type, uint id) { /// /// Gets the ID of this Item. diff --git a/src/ImageSharp/Formats/Heif/HeifItemLink.cs b/src/ImageSharp/Formats/Heif/HeifItemLink.cs index 95e84a237f..7ed2f45402 100644 --- a/src/ImageSharp/Formats/Heif/HeifItemLink.cs +++ b/src/ImageSharp/Formats/Heif/HeifItemLink.cs @@ -6,7 +6,7 @@ namespace SixLabors.ImageSharp.Formats.Heif; /// /// Link between instances within the same HEIF file. /// -public class HeifItemLink(Heif4CharCode type, uint sourceId) +internal class HeifItemLink(Heif4CharCode type, uint sourceId) { /// /// Gets the type of link. diff --git a/src/ImageSharp/Formats/Heif/HeifLocation.cs b/src/ImageSharp/Formats/Heif/HeifLocation.cs index 9348ba981e..d739cb633c 100644 --- a/src/ImageSharp/Formats/Heif/HeifLocation.cs +++ b/src/ImageSharp/Formats/Heif/HeifLocation.cs @@ -6,7 +6,7 @@ namespace SixLabors.ImageSharp.Formats.Heif; /// /// Location within the file of an . /// -public class HeifLocation(long offset, long length) +internal class HeifLocation(long offset, long length) { /// /// Gets the file offset of this location.