Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge v1.7 for main #124

Merged
merged 15 commits into from
Dec 31, 2024
Prev Previous commit
Next Next commit
Return Array.Empty<T>
siewers committed Oct 2, 2024
commit 1ce1ee24f38c0cdd72840f6a985dbcd5173b656c
4 changes: 0 additions & 4 deletions src/Xunit.Combinatorial/CombinatorialMemberDataAttribute.cs
Original file line number Diff line number Diff line change
@@ -55,11 +55,7 @@ public CombinatorialMemberDataAttribute(string memberName, params object?[]? arg

if (type is null)
{
#if NETSTANDARD
return Array.Empty<object?>();
#else
return new object[0];
#endif
}

Func<object>? accessor = this.GetPropertyAccessor(type, parameterInfo) ?? this.GetMethodAccessor(type, parameterInfo) ?? this.GetFieldAccessor(type, parameterInfo);