diff --git a/xunit/src/Bss.Testing.Xunit/Sdk/ServiceProviderMemberDataAttribute.cs b/xunit/src/Bss.Testing.Xunit/Sdk/ServiceProviderMemberDataAttribute.cs index d5d477b..3c1d600 100644 --- a/xunit/src/Bss.Testing.Xunit/Sdk/ServiceProviderMemberDataAttribute.cs +++ b/xunit/src/Bss.Testing.Xunit/Sdk/ServiceProviderMemberDataAttribute.cs @@ -21,7 +21,7 @@ public class ServiceProviderMemberDataAttribute(string methodOrPropertyName) : D public IEnumerable GetData(MethodInfo testMethod, IServiceProvider serviceProvider) { - var type = this.MemberType ?? testMethod.DeclaringType; + var type = this.MemberType ?? testMethod.ReflectedType; var accessor = this.GetMethodAccessor(type, serviceProvider) ?? this.GetPropertyAccessor(type, serviceProvider); diff --git a/xunit/src/__SolutionItems/CommonAssemblyInfo.cs b/xunit/src/__SolutionItems/CommonAssemblyInfo.cs index 407b583..9bb2c46 100644 --- a/xunit/src/__SolutionItems/CommonAssemblyInfo.cs +++ b/xunit/src/__SolutionItems/CommonAssemblyInfo.cs @@ -4,9 +4,9 @@ [assembly: AssemblyCompany("Luxoft")] [assembly: AssemblyCopyright("Copyright © Luxoft 2024")] -[assembly: AssemblyVersion("1.0.1.0")] -[assembly: AssemblyFileVersion("1.0.1.0")] -[assembly: AssemblyInformationalVersion("1.0.1.0")] +[assembly: AssemblyVersion("1.0.2.0")] +[assembly: AssemblyFileVersion("1.0.2.0")] +[assembly: AssemblyInformationalVersion("1.0.2.0")] #if DEBUG [assembly: AssemblyConfiguration("Debug")]