diff --git a/src/libraries/System.Formats.Tar/tests/Manual/ManualTestsAsync.cs b/src/libraries/System.Formats.Tar/tests/Manual/ManualTestsAsync.cs index 5262c71525617..445502dc135af 100644 --- a/src/libraries/System.Formats.Tar/tests/Manual/ManualTestsAsync.cs +++ b/src/libraries/System.Formats.Tar/tests/Manual/ManualTestsAsync.cs @@ -16,7 +16,7 @@ public static IEnumerable WriteEntry_LongFileSize_TheoryDataAsync() // Fixes error xUnit1015: MemberData needs to be in the same class => ManualTests.WriteEntry_LongFileSize_TheoryData(); - [ConditionalTheory(nameof(ManualTests.ManualTestsEnabled))] + [ConditionalTheory(typeof(ManualTests), nameof(ManualTests.ManualTestsEnabled))] [MemberData(nameof(WriteEntry_LongFileSize_TheoryDataAsync))] [SkipOnPlatform(TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.Android | TestPlatforms.Browser, "Needs too much disk space.")] public async Task WriteEntry_LongFileSizeAsync(TarEntryFormat entryFormat, long size, bool unseekableStream)