From 1b9bf42343d3cb52733da24338f753a64b9d03ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20Ga=C5=82=C4=99zowski?= Date: Wed, 17 Jul 2024 22:42:56 +0200 Subject: [PATCH] Remove netstandard2.1 target --- src/netstandard2.0/AnyExtensibility/AnyExtensibility.csproj | 2 +- src/netstandard2.0/AnyGenerators/AnyGenerators.csproj | 2 +- src/netstandard2.0/AnyRoot/AnyRoot.csproj | 2 +- src/netstandard2.0/BuildScript/rules.txt | 2 +- src/netstandard2.0/TypeReflection/TypeReflection.csproj | 2 +- .../AutoFixtureWrapper/EmptyImmutableCollectionRelay.cs | 2 +- src/netstandard2.0/TypeResolution/TypeResolution.csproj | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/netstandard2.0/AnyExtensibility/AnyExtensibility.csproj b/src/netstandard2.0/AnyExtensibility/AnyExtensibility.csproj index 8c1d368..55f26ea 100644 --- a/src/netstandard2.0/AnyExtensibility/AnyExtensibility.csproj +++ b/src/netstandard2.0/AnyExtensibility/AnyExtensibility.csproj @@ -7,7 +7,7 @@ - net8.0;netstandard2.1 + net8.0 TddXt.Any.Extensibility TddXt.AnyExtensibility Grzegorz Gałęzowski diff --git a/src/netstandard2.0/AnyGenerators/AnyGenerators.csproj b/src/netstandard2.0/AnyGenerators/AnyGenerators.csproj index b06d915..2a1a88f 100644 --- a/src/netstandard2.0/AnyGenerators/AnyGenerators.csproj +++ b/src/netstandard2.0/AnyGenerators/AnyGenerators.csproj @@ -5,7 +5,7 @@ nullable - net8.0;netstandard2.1 + net8.0 TddXt.Any.Generators TddXt.AnyGenerators Grzegorz Gałęzowski diff --git a/src/netstandard2.0/AnyRoot/AnyRoot.csproj b/src/netstandard2.0/AnyRoot/AnyRoot.csproj index bceb4c1..c223daa 100644 --- a/src/netstandard2.0/AnyRoot/AnyRoot.csproj +++ b/src/netstandard2.0/AnyRoot/AnyRoot.csproj @@ -6,7 +6,7 @@ - net8.0;netstandard2.1 + net8.0 TddXt.Any.Root TddXt.AnyRoot Any diff --git a/src/netstandard2.0/BuildScript/rules.txt b/src/netstandard2.0/BuildScript/rules.txt index 7fa8bcf..cf3c9ad 100644 --- a/src/netstandard2.0/BuildScript/rules.txt +++ b/src/netstandard2.0/BuildScript/rules.txt @@ -1,6 +1,6 @@ * hasNoCircularUsings *Specification hasAttributesOn *Specification:Should* -AnyRoot hasProperty TargetFrameworks:net8.0;netstandard2.1 +AnyRoot hasProperty TargetFrameworks:net8.0 *Specification hasProperty TargetFramework:net8.0 * hasProperty Nullable:enable * hasProperty LangVersion:latest \ No newline at end of file diff --git a/src/netstandard2.0/TypeReflection/TypeReflection.csproj b/src/netstandard2.0/TypeReflection/TypeReflection.csproj index c0b6c02..bce1ea0 100644 --- a/src/netstandard2.0/TypeReflection/TypeReflection.csproj +++ b/src/netstandard2.0/TypeReflection/TypeReflection.csproj @@ -6,7 +6,7 @@ - net8.0;netstandard2.1 + net8.0 TddXt.Any.TypeReflection TddXt.TypeReflection Grzegorz Gałęzowski diff --git a/src/netstandard2.0/TypeResolution/FakeChainElements/InlineGeneratorTypes/AutoFixtureWrapper/EmptyImmutableCollectionRelay.cs b/src/netstandard2.0/TypeResolution/FakeChainElements/InlineGeneratorTypes/AutoFixtureWrapper/EmptyImmutableCollectionRelay.cs index e7ceed6..ed1a253 100644 --- a/src/netstandard2.0/TypeResolution/FakeChainElements/InlineGeneratorTypes/AutoFixtureWrapper/EmptyImmutableCollectionRelay.cs +++ b/src/netstandard2.0/TypeResolution/FakeChainElements/InlineGeneratorTypes/AutoFixtureWrapper/EmptyImmutableCollectionRelay.cs @@ -11,7 +11,7 @@ public class EmptyImmutableCollectionRelay : ISpecimenBuilder { public object Create(object request, ISpecimenContext context) { - if (context == null) throw new ArgumentNullException(nameof(context)); + ArgumentNullException.ThrowIfNull(context); if (request is Type { IsGenericType: true } t) { diff --git a/src/netstandard2.0/TypeResolution/TypeResolution.csproj b/src/netstandard2.0/TypeResolution/TypeResolution.csproj index 965ff4d..5dc3448 100644 --- a/src/netstandard2.0/TypeResolution/TypeResolution.csproj +++ b/src/netstandard2.0/TypeResolution/TypeResolution.csproj @@ -6,7 +6,7 @@ - net8.0;netstandard2.1 + net8.0 TddXt.Any.TypeResolution TddXt.TypeResolution Grzegorz Gałęzowski