@@ -24,7 +24,7 @@ public static IEnumerable<object[]> GetToolchains()
2424
2525 public ArgumentsTests ( ITestOutputHelper output ) : base ( output ) { }
2626
27- [ Theory , MemberData ( nameof ( GetToolchains ) ) ]
27+ [ Theory , MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ]
2828 public void ArgumentsArePassedToBenchmarks ( IToolchain toolchain ) => CanExecute < WithArguments > ( toolchain ) ;
2929
3030 public class WithArguments
@@ -61,7 +61,7 @@ public ValueTask<int> SimpleValueTaskAsync(bool boolean, int number)
6161 }
6262 }
6363
64- [ Theory , MemberData ( nameof ( GetToolchains ) ) ]
64+ [ Theory , MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ]
6565 public void ArgumentsFromSourceArePassedToBenchmarks ( IToolchain toolchain ) => CanExecute < WithArgumentsSource > ( toolchain ) ;
6666
6767 public class WithArgumentsSource
@@ -81,7 +81,7 @@ public IEnumerable<object[]> ArgumentsProvider()
8181 }
8282 }
8383
84- [ Theory , MemberData ( nameof ( GetToolchains ) ) ]
84+ [ Theory , MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ]
8585 public void ArgumentsFromSourceInAnotherClassArePassedToBenchmarks ( IToolchain toolchain ) => CanExecute < WithArgumentsSourceInAnotherClass > ( toolchain ) ;
8686
8787 public class WithArgumentsSourceInAnotherClass
@@ -103,7 +103,7 @@ public static IEnumerable<object[]> ArgumentsProvider()
103103 }
104104 }
105105
106- [ Theory , MemberData ( nameof ( GetToolchains ) ) ]
106+ [ Theory , MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ]
107107 public void ArgumentsCanBePassedByReferenceToBenchmark ( IToolchain toolchain ) => CanExecute < WithRefArguments > ( toolchain ) ;
108108
109109 public class WithRefArguments
@@ -118,7 +118,7 @@ public void Simple(ref bool boolean, ref int number)
118118 }
119119 }
120120
121- [ Theory , MemberData ( nameof ( GetToolchains ) ) ]
121+ [ Theory , MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ]
122122 public void ArgumentsCanBePassedByReadonlyReferenceToBenchmark ( IToolchain toolchain ) => CanExecute < WithInArguments > ( toolchain ) ;
123123
124124 public class WithInArguments
@@ -133,7 +133,7 @@ public void Simple(in bool boolean, in int number)
133133 }
134134 }
135135
136- [ Theory , MemberData ( nameof ( GetToolchains ) ) ]
136+ [ Theory , MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ]
137137 public void NonCompileTimeConstantsCanBeReturnedFromSource ( IToolchain toolchain ) => CanExecute < WithComplexTypesReturnedFromSources > ( toolchain ) ;
138138
139139 public class WithComplexTypesReturnedFromSources
@@ -190,7 +190,7 @@ public struct SomeStruct
190190 }
191191 }
192192
193- [ Theory , MemberData ( nameof ( GetToolchains ) ) ]
193+ [ Theory , MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ]
194194 public void ArrayCanBeUsedAsArgument ( IToolchain toolchain ) => CanExecute < WithArray > ( toolchain ) ;
195195
196196 public class WithArray
@@ -208,7 +208,7 @@ public void AcceptingArray(int[] array)
208208 }
209209 }
210210
211- [ Theory , MemberData ( nameof ( GetToolchains ) ) ]
211+ [ Theory , MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ]
212212 public void IEnumerableCanBeUsedAsArgument ( IToolchain toolchain ) => CanExecute < WithIEnumerable > ( toolchain ) ;
213213
214214 public class WithIEnumerable
@@ -233,7 +233,7 @@ public IEnumerable<object[]> Sources()
233233 public void Any ( string name , IEnumerable < int > source ) => source . Any ( ) ;
234234 }
235235
236- [ Theory , MemberData ( nameof ( GetToolchains ) ) ]
236+ [ Theory , MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ]
237237 public void JaggedArrayCanBeUsedAsArgument ( IToolchain toolchain ) => CanExecute < WithJaggedArray > ( toolchain ) ;
238238
239239 public class WithJaggedArray
@@ -269,7 +269,7 @@ public IEnumerable<object> CreateMatrix()
269269 }
270270 }
271271
272- [ Theory , MemberData ( nameof ( GetToolchains ) ) ]
272+ [ Theory , MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ]
273273 public void GenericTypeCanBePassedByRefAsArgument ( IToolchain toolchain ) => CanExecute < WithGenericByRef > ( toolchain ) ;
274274
275275 public class WithGenericByRef
@@ -305,7 +305,7 @@ public IEnumerable<object> GetInputData()
305305 }
306306 }
307307
308- [ Theory , MemberData ( nameof ( GetToolchains ) ) ]
308+ [ Theory , MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ]
309309 public void AnArrayOfTypeWithNoParameterlessCtorCanBePassedAsArgument ( IToolchain toolchain ) => CanExecute < WithArrayOfStringAsArgument > ( toolchain ) ;
310310
311311 public class WithArrayOfStringAsArgument
@@ -322,7 +322,7 @@ public void TypeReflectionArrayGetType(object anArray)
322322 }
323323 }
324324
325- [ Theory , MemberData ( nameof ( GetToolchains ) ) ]
325+ [ Theory , MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ]
326326 public void AnArrayCanBePassedToBenchmarkAsSpan ( IToolchain toolchain ) => CanExecute < WithArrayToSpan > ( toolchain ) ;
327327
328328 public class WithArrayToSpan
@@ -342,7 +342,7 @@ public void AcceptsSpan(Span<int> span)
342342
343343 [ TheoryEnvSpecific ( "The implicit cast operator is available only in .NET Core 2.1+ (See https://github.com/dotnet/corefx/issues/30121 for more)" ,
344344 EnvRequirement . DotNetCoreOnly ) ]
345- [ MemberData ( nameof ( GetToolchains ) ) ]
345+ [ MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ]
346346 public void StringCanBePassedToBenchmarkAsReadOnlySpan ( IToolchain toolchain ) => CanExecute < WithStringToReadOnlySpan > ( toolchain ) ;
347347
348348 public class WithStringToReadOnlySpan
@@ -360,7 +360,7 @@ public void AcceptsReadOnlySpan(ReadOnlySpan<char> notString)
360360 }
361361 }
362362
363- [ Theory , MemberData ( nameof ( GetToolchains ) ) ]
363+ [ Theory , MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ]
364364 public void AnArrayOfStringsCanBeUsedAsArgument ( IToolchain toolchain ) =>
365365 CanExecute < WithArrayOfStringFromArgumentSource > ( toolchain ) ;
366366
@@ -380,7 +380,7 @@ public void TypeReflectionArrayGetType(string[] array)
380380 }
381381 }
382382
383- [ Theory , MemberData ( nameof ( GetToolchains ) ) ] // make sure BDN mimics xunit's MemberData behaviour
383+ [ Theory , MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ] // make sure BDN mimics xunit's MemberData behaviour
384384 public void AnIEnumerableOfArrayOfObjectsCanBeUsedAsArgumentForBenchmarkAcceptingSingleArgument ( IToolchain toolchain )
385385 => CanExecute < WithIEnumerableOfArrayOfObjectsFromArgumentSource > ( toolchain ) ;
386386
@@ -400,7 +400,7 @@ public void SingleArgument(bool boolean)
400400 }
401401 }
402402
403- [ Theory , MemberData ( nameof ( GetToolchains ) ) ]
403+ [ Theory , MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ]
404404 public void BenchmarkCanAcceptFewArrays ( IToolchain toolchain ) => CanExecute < FewArrays > ( toolchain ) ;
405405
406406 public class FewArrays
@@ -429,7 +429,7 @@ public void AcceptsArrays(int[] even, int[] notEven)
429429 }
430430 }
431431
432- [ Theory , MemberData ( nameof ( GetToolchains ) ) ]
432+ [ Theory , MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ]
433433 public void VeryBigIntegersAreSupported ( IToolchain toolchain ) => CanExecute < WithVeryBigInteger > ( toolchain ) ;
434434
435435 public class WithVeryBigInteger
@@ -450,7 +450,7 @@ public void Method(BigInteger passed)
450450 }
451451 }
452452
453- [ Theory , MemberData ( nameof ( GetToolchains ) ) ]
453+ [ Theory , MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ]
454454 public void SpecialDoubleValuesAreSupported ( IToolchain toolchain ) => CanExecute < WithSpecialDoubleValues > ( toolchain ) ;
455455
456456 public class WithSpecialDoubleValues
@@ -495,7 +495,7 @@ public void Method(double passed, string name)
495495 }
496496 }
497497
498- [ Theory , MemberData ( nameof ( GetToolchains ) ) ]
498+ [ Theory , MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ]
499499 public void SpecialFloatValuesAreSupported ( IToolchain toolchain ) => CanExecute < WithSpecialFloatValues > ( toolchain ) ;
500500
501501 public class WithSpecialFloatValues
@@ -540,7 +540,7 @@ public void Method(float passed, string name)
540540 }
541541 }
542542
543- [ Theory , MemberData ( nameof ( GetToolchains ) ) ]
543+ [ Theory , MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ]
544544 public void SpecialDecimalValuesAreSupported ( IToolchain toolchain ) => CanExecute < WithSpecialDecimalValues > ( toolchain ) ;
545545
546546 public class WithSpecialDecimalValues
@@ -569,7 +569,7 @@ public void Method(decimal passed, string name)
569569 }
570570 }
571571
572- [ Theory , MemberData ( nameof ( GetToolchains ) ) ]
572+ [ Theory , MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ]
573573 public void DateTimeCanBeUsedAsArgument ( IToolchain toolchain ) => CanExecute < WithDateTime > ( toolchain ) ;
574574
575575 public class WithDateTime
@@ -590,7 +590,7 @@ public void Test(DateTime passed)
590590 }
591591 }
592592
593- [ Theory , MemberData ( nameof ( GetToolchains ) ) ]
593+ [ Theory , MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ]
594594 public void CustomTypeThatAlsoExistsInTheSystemNamespaceAsArgument ( IToolchain toolchain ) => CanExecute < CustomTypeThatAlsoExistsInTheSystemNamespace > ( toolchain ) ;
595595
596596 public class CustomTypeThatAlsoExistsInTheSystemNamespace
@@ -611,7 +611,7 @@ public void Test(Action passed)
611611 }
612612 }
613613
614- [ Theory , MemberData ( nameof ( GetToolchains ) ) ]
614+ [ Theory , MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ]
615615 public void EnumFlagsAreSupported ( IToolchain toolchain ) => CanExecute < WithEnumFlags > ( toolchain ) ;
616616
617617 public class WithEnumFlags
@@ -648,7 +648,7 @@ public void Test(LongFlagEnum passedLongFlagEnum, ByteFlagEnum passedByteFlagEnu
648648 }
649649 }
650650
651- [ Theory , MemberData ( nameof ( GetToolchains ) ) ]
651+ [ Theory , MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ]
652652 public void UndefinedEnumValuesAreSupported ( IToolchain toolchain ) => CanExecute < WithUndefinedEnumValue > ( toolchain ) ;
653653
654654 public class WithUndefinedEnumValue
@@ -674,7 +674,7 @@ public void Test(SomeEnum defined, SomeEnum undefined, SomeEnum undefinedNegativ
674674 }
675675 }
676676
677- [ Theory , MemberData ( nameof ( GetToolchains ) ) ]
677+ [ Theory , MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ]
678678 public void StaticMethodsAndPropertiesCanBeUsedAsSources_EnumerableOfObjects ( IToolchain toolchain )
679679 => CanExecute < WithStaticSources_EnumerableOfObjects > ( toolchain ) ;
680680
@@ -722,7 +722,7 @@ public void TestProperty(int argument)
722722 }
723723 }
724724
725- [ Theory , MemberData ( nameof ( GetToolchains ) ) ]
725+ [ Theory , MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ]
726726 public void StaticMethodsAndPropertiesCanBeUsedAsSources_EnumerableOfArrayOfObjects ( IToolchain toolchain )
727727 => CanExecute < WithStaticSources_EnumerableOfArrayOfObjects > ( toolchain ) ;
728728
@@ -769,7 +769,7 @@ public void TestProperty(int argument)
769769 }
770770 }
771771
772- [ Theory , MemberData ( nameof ( GetToolchains ) ) ]
772+ [ Theory , MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ]
773773 public void MethodsAndPropertiesFromAnotherClassCanBeUsedAsSources ( IToolchain toolchain )
774774 => CanExecute < ParamsSourcePointingToAnotherClass > ( toolchain ) ;
775775
@@ -805,7 +805,7 @@ public static IEnumerable<int> Property
805805 }
806806 }
807807
808- [ Theory , MemberData ( nameof ( GetToolchains ) ) ]
808+ [ Theory , MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ]
809809 public void VeryLongStringsAreSupported ( IToolchain toolchain ) => CanExecute < WithVeryLongString > ( toolchain ) ;
810810
811811 public class WithVeryLongString
@@ -829,7 +829,7 @@ public void Test(string first, string second)
829829 }
830830 }
831831
832- [ Theory , MemberData ( nameof ( GetToolchains ) ) ]
832+ [ Theory , MemberData ( nameof ( GetToolchains ) , DisableDiscoveryEnumeration = true ) ]
833833 public void ComplexStringPattersAreSupported ( IToolchain toolchain ) => CanExecute < Perf_Regex_Industry_RustLang_Sherlock > ( toolchain ) ;
834834
835835 public class Perf_Regex_Industry_RustLang_Sherlock
0 commit comments