Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nhibernate/iesi.collections
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4.1.1
Choose a base ref
...
head repository: nhibernate/iesi.collections
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 6 commits
  • 6 files changed
  • 2 contributors

Commits on Apr 4, 2024

  1. feat: implement IReadOnlySet<T> interface on .NET 6+ (#46)

    hazzik authored Apr 4, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    842118e View commit details

Commits on Apr 7, 2024

  1. chore: pin NUnit to <4.0.0 for .NET 4 (#47)

    hazzik authored Apr 7, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    17ba7c6 View commit details

Commits on Apr 22, 2024

  1. build: enable NuGet audit (#48)

    hazzik authored Apr 22, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    69f19f9 View commit details

Commits on Apr 24, 2024

  1. chore(deps): update dependency nunit.analyzers to v4.2.0 (#49)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Apr 24, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    8e92b01 View commit details

Commits on Oct 16, 2024

  1. chore(deps): update dependency nunitlite to 4.2.2 (#52)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Oct 16, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    7f68e02 View commit details
  2. chore(deps): update dependency nunit.analyzers to v4.3.0 (#51)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Oct 16, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    930ed24 View commit details
3 changes: 3 additions & 0 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -4,6 +4,9 @@
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Nullable>enable</Nullable>
<LangVersion>12</LangVersion>
<NuGetAudit>true</NuGetAudit>
<NuGetAuditLevel>low</NuGetAuditLevel>
<NuGetAuditMode>all</NuGetAuditMode>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="GitVersion.MsBuild">
8 changes: 3 additions & 5 deletions src/Iesi.Collections.Test/Iesi.Collections.Test.csproj
Original file line number Diff line number Diff line change
@@ -10,14 +10,12 @@
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net40'">
<PackageReference Include="NUnit" Version="3.14.0" />
<PackageReference Include="NUnitLite" Version="3.14.0" />
<PackageReference Include="NUnitLite" Version="[3.14.0, 4.0.0)" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' != 'net40'">
<PackageReference Include="NUnit" Version="4.1.0" />
<PackageReference Include="NUnitLite" Version="4.1.0" />
<PackageReference Include="NUnit.Analyzers" Version="4.1.0">
<PackageReference Include="NUnitLite" Version="4.2.2" />
<PackageReference Include="NUnit.Analyzers" Version="4.3.0">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
3 changes: 3 additions & 0 deletions src/Iesi.Collections/Generic/LinkedHashSet.cs
Original file line number Diff line number Diff line change
@@ -18,6 +18,9 @@ namespace Iesi.Collections.Generic;
public class LinkedHashSet<T> : ISet<T>
#if !NET40
, IReadOnlyCollection<T>
#endif
#if NET5_0_OR_GREATER
, IReadOnlySet<T>
#endif
where T : notnull
{
3 changes: 3 additions & 0 deletions src/Iesi.Collections/Generic/ReadOnlySet.cs
Original file line number Diff line number Diff line change
@@ -18,6 +18,9 @@ public sealed class ReadOnlySet<T> : ISet<T>
#if !NET40
, IReadOnlyCollection<T>
#endif
#if NET5_0_OR_GREATER
, IReadOnlySet<T>
#endif
{
const string ErrorMessage = "The set cannot be modified through this instance.";
readonly ISet<T> _basisSet;
3 changes: 3 additions & 0 deletions src/Iesi.Collections/Generic/SynchronizedSet.cs
Original file line number Diff line number Diff line change
@@ -20,6 +20,9 @@ public sealed class SynchronizedSet<T> : ISet<T>
#if !NET40
, IReadOnlyCollection<T>
#endif
#if NET5_0_OR_GREATER
, IReadOnlySet<T>
#endif
{
readonly ISet<T> _basisSet;
readonly object _syncRoot;
8 changes: 7 additions & 1 deletion src/Iesi.Collections/Iesi.Collections.csproj
Original file line number Diff line number Diff line change
@@ -23,8 +23,14 @@ Copyright © 2012 Oskar Berggren</Copyright>
<IsTrimmable>true</IsTrimmable>
</PropertyGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.0' ">
<PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
<PackageReference Include="System.Runtime.Serialization.Formatters" Version="4.3.*" />
<PackageReference Include="System.Net.Http" Version="4.3.4" />
<PackageReference Include="System.Runtime.Serialization.Formatters" Version="4.3.0" />
<PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" />
</ItemGroup>

<ItemGroup>