From 28c107ed7ff9d53ca2f06778e84f01ef362f8ce8 Mon Sep 17 00:00:00 2001
From: Andrei Ivascu <7030530+aivascu@users.noreply.github.com>
Date: Wed, 28 Jan 2026 03:05:25 +0200
Subject: [PATCH 1/2] Udated references
---
Common.Test.props | 13 +++++--------
Common.props | 2 +-
src/AutoFixture.TUnit/AutoFixture.TUnit.csproj | 2 +-
.../AutoFixture.TUnit.Tests.csproj | 2 +-
4 files changed, 8 insertions(+), 11 deletions(-)
diff --git a/Common.Test.props b/Common.Test.props
index 81c96ec..82d84c1 100644
--- a/Common.Test.props
+++ b/Common.Test.props
@@ -21,14 +21,11 @@
-
-
-
-
-
- all
- runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
+
+
+
+
diff --git a/Common.props b/Common.props
index 40704ef..5dec278 100644
--- a/Common.props
+++ b/Common.props
@@ -70,6 +70,6 @@
-
+
diff --git a/src/AutoFixture.TUnit/AutoFixture.TUnit.csproj b/src/AutoFixture.TUnit/AutoFixture.TUnit.csproj
index f945639..c20256c 100644
--- a/src/AutoFixture.TUnit/AutoFixture.TUnit.csproj
+++ b/src/AutoFixture.TUnit/AutoFixture.TUnit.csproj
@@ -12,7 +12,7 @@
-
+
diff --git a/tests/AutoFixture.TUnit.Tests/AutoFixture.TUnit.Tests.csproj b/tests/AutoFixture.TUnit.Tests/AutoFixture.TUnit.Tests.csproj
index 57224b4..4342deb 100644
--- a/tests/AutoFixture.TUnit.Tests/AutoFixture.TUnit.Tests.csproj
+++ b/tests/AutoFixture.TUnit.Tests/AutoFixture.TUnit.Tests.csproj
@@ -17,7 +17,7 @@
-
+
From 6153523a883a056ae92d4eb2960fe1c91e138f0a Mon Sep 17 00:00:00 2001
From: Andrei Ivascu <7030530+aivascu@users.noreply.github.com>
Date: Wed, 28 Jan 2026 03:28:28 +0200
Subject: [PATCH 2/2] Attempt to fix build errors #1
---
.../AutoArgumentsAttribute.cs | 4 +-
.../AutoClassDataSourceAttribute.cs | 4 +-
.../AutoDataSourceAttribute.cs | 4 +-
.../AutoFixture.TUnit.csproj | 4 +-
.../AutoMemberDataSourceAttribute.cs | 4 +-
.../BaseDataSourceAttribute.cs | 11 +-
.../CompositeDataSourceAttribute.cs | 4 +-
.../Internal/ClassDataSource.cs | 2 +-
.../DataGeneratorMetadataExtensions.cs | 7 +-
src/AutoFixture.TUnit/Internal/IDataSource.cs | 2 +-
.../Internal/MemberDataSource.cs | 2 +-
.../AutoArgumentsAttributeTests.cs | 6 +-
.../AutoDataSourceAttributeTests.cs | 12 +-
.../AutoFixture.TUnit.Tests.csproj | 10 +-
.../ClassAutoDataSourceAttributeTests.cs | 32 ++--
.../ClassAutoDataSourceScenarioTests.cs | 2 +-
...teDataSourceAttributeSufficientDataTest.cs | 8 +-
.../CompositeDataSourceAttributeTest.cs | 7 +-
.../CustomizeAttributeTest.cs | 2 +-
.../DataGeneratorMetadataHelper.cs | 147 ++++++++++++++----
.../DependencyConstraintsTests.cs | 2 +-
.../FavorArraysAttributeTest.cs | 10 +-
.../FavorEnumerablesAttributeTest.cs | 10 +-
.../FavorListsAttributeTest.cs | 10 +-
.../FrozenAttributeTest.cs | 2 -
.../GreedyAttributeTest.cs | 10 +-
.../Internal/AutoDataSourceTests.cs | 26 ++--
.../Internal/ClassDataSourceTests.cs | 11 +-
.../Internal/DataSourceTests.cs | 36 ++---
.../Internal/FieldDataSourceTests.cs | 9 +-
.../Internal/InlineDataSourceTests.cs | 11 +-
.../Internal/MemberDataSourceTests.cs | 6 +-
.../Internal/MethodDataSourceTests.cs | 7 +-
.../Internal/PropertyDataSourceTests.cs | 12 +-
.../MemberAutoDataSourceAttributeTest.cs | 27 ++--
.../ModestAttributeTest.cs | 10 +-
.../NoAutoPropertiesAttributeTest.cs | 3 +-
tests/AutoFixture.TUnit.Tests/Scenario.cs | 3 +-
.../TestTypes/ChildTestTypeMethodData.cs | 2 +-
.../TestTypes/ClassWithEmptyTestData.cs | 2 +-
.../TestTypes/ClassWithNullTestData.cs | 2 +-
...CompositeTypeWithOverloadedConstructors.cs | 2 +-
.../TestTypes/DelegatingCustomization.cs | 2 +-
.../TestTypes/DelegatingCustomizeAttribute.cs | 2 +-
.../TestTypes/DelegatingDataSource.cs | 2 +-
.../TestTypes/DelegatingFixture.cs | 2 +-
.../TestTypes/DelegatingMemberDataSource.cs | 2 +-
.../TestTypes/DelegatingSpecimenBuilder.cs | 2 +-
.../TestTypes/DelegatingTestData.cs | 2 +-
.../DerivedAutoClassDataSourceAttribute.cs | 2 +-
.../DerivedAutoDataSourceAttribute.cs | 2 +-
.../DerivedAutoMemberDataSourceAttribute.cs | 2 +-
.../TestTypes/EmptyClassData.cs | 2 +-
.../TestTypes/ExampleTestClass.cs | 2 +-
.../TestTypes/FakeDataAttribute.cs | 2 +-
.../TestTypes/MixedTypeClassData.cs | 2 +-
.../TestTypes/MyClass.cs | 2 +-
.../TestTypes/ParameterizedClassData.cs | 2 +-
.../TestTypes/SampleTestType.cs | 2 +-
.../TypeWithCustomizationAttributes.cs | 3 +-
...eWithIParameterCustomizationSourceUsage.cs | 2 +-
.../AbstractClassWithPublicConstructor.cs | 2 +-
tests/TestTypeFoundation/AbstractType.cs | 2 +-
...peWithConstructorWithMultipleParameters.cs | 2 +-
.../AbstractTypeWithNonDefaultConstructor.cs | 2 +-
tests/TestTypeFoundation/CollectionHolder.cs | 2 +-
tests/TestTypeFoundation/CompositeType.cs | 2 +-
tests/TestTypeFoundation/ConcreteType.cs | 2 +-
...TypeWithPrivateParameterlessConstructor.cs | 2 +-
tests/TestTypeFoundation/DoubleFieldHolder.cs | 2 +-
.../TestTypeFoundation/DoubleParameterType.cs | 2 +-
.../DoublePropertyHolder.cs | 2 +-
tests/TestTypeFoundation/EmptyEnum.cs | 2 +-
tests/TestTypeFoundation/EnumType.cs | 2 +-
tests/TestTypeFoundation/EqualityResponder.cs | 2 +-
tests/TestTypeFoundation/FieldHolder.cs | 2 +-
.../GuardedConstructorHost.cs | 2 +-
...nstructorHostHoldingStaticReadOnlyField.cs | 2 +-
...ructorHostHoldingStaticReadOnlyProperty.cs | 2 +-
tests/TestTypeFoundation/GuardedMethodHost.cs | 2 +-
tests/TestTypeFoundation/IInterface.cs | 2 +-
.../IndexedPropertyHolder.cs | 2 +-
.../InternalGetterPropertyHolder.cs | 2 +-
tests/TestTypeFoundation/ItemContainer.cs | 2 +-
tests/TestTypeFoundation/ItemHolder.cs | 2 +-
.../MultiUnorderedConstructorType.cs | 2 +-
tests/TestTypeFoundation/MutableValueType.cs | 2 +-
.../MutableValueTypeWithoutConstructor.cs | 2 +-
.../NonCompliantCollectionHolder.cs | 2 +-
.../NoopInterfaceImplementer.cs | 2 +-
.../Properties/AssemblyInfo.cs | 2 +-
tests/TestTypeFoundation/PropertyHolder.cs | 2 +-
.../QuadrupleParameterType.cs | 2 +-
.../TestTypeFoundation/ReadOnlyFieldHolder.cs | 2 +-
.../ReadOnlyPropertyHolder.cs | 2 +-
.../TestTypeFoundation/SingleParameterType.cs | 2 +-
tests/TestTypeFoundation/StaticFieldHolder.cs | 2 +-
.../StaticPropertyHolder.cs | 2 +-
tests/TestTypeFoundation/TriState.cs | 2 +-
.../TestTypeFoundation/TripleParameterType.cs | 2 +-
.../TriplePropertyHolder.cs | 2 +-
...thCastOperatorsWithoutPublicConstructor.cs | 2 +-
.../TypeWithConcreteParameterMethod.cs | 2 +-
.../TypeWithEmptyEnumField.cs | 2 +-
.../TypeWithFactoryMethod.cs | 2 +-
.../TypeWithFactoryProperty.cs | 2 +-
tests/TestTypeFoundation/TypeWithIndexer.cs | 2 +-
.../TypeWithOverloadedMembers.cs | 2 +-
.../TypeWithPseudoFactoryMethod.cs | 2 +-
tests/TestTypeFoundation/TypeWithRefMethod.cs | 2 +-
.../UnguardedConstructorHost.cs | 2 +-
.../TestTypeFoundation/UnguardedMethodHost.cs | 2 +-
.../UnguardedStaticMethodOnStaticTypeHost.cs | 2 +-
...UnguardedStaticPropertyOnStaticTypeHost.cs | 2 +-
114 files changed, 354 insertions(+), 278 deletions(-)
diff --git a/src/AutoFixture.TUnit/AutoArgumentsAttribute.cs b/src/AutoFixture.TUnit/AutoArgumentsAttribute.cs
index cb031d4..cc6a101 100644
--- a/src/AutoFixture.TUnit/AutoArgumentsAttribute.cs
+++ b/src/AutoFixture.TUnit/AutoArgumentsAttribute.cs
@@ -1,4 +1,4 @@
-using System.Diagnostics.CodeAnalysis;
+using System.Diagnostics.CodeAnalysis;
using AutoFixture.TUnit.Internal;
namespace AutoFixture.TUnit;
@@ -46,7 +46,7 @@ protected AutoArgumentsAttribute(Func fixtureFactory, params object?[]
public override IEnumerable