Skip to content

Commit

Permalink
make helpers internal
Browse files Browse the repository at this point in the history
  • Loading branch information
majorro committed Jan 15, 2025
1 parent 4f4af6e commit 7a1ad66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/SharpCompress/NotNullExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace SharpCompress.Helpers;

public static class NotNullExtensions
internal static class NotNullExtensions
{
public static IEnumerable<T> Empty<T>(this IEnumerable<T>? source) =>
source ?? Enumerable.Empty<T>();
Expand Down
3 changes: 1 addition & 2 deletions src/SharpCompress/Utility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@

namespace SharpCompress.Helpers;

[CLSCompliant(false)]
public static class Utility
internal static class Utility
{
public static ReadOnlyCollection<T> ToReadOnly<T>(this IList<T> items) => new(items);

Expand Down

0 comments on commit 7a1ad66

Please sign in to comment.