File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
samples/BenchmarkDotNet.Samples Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -55,8 +55,10 @@ public static int Main(string[] args)
5555 return config . AddAnalyser ( DefaultConfig . Instance . GetAnalysers ( ) . ToArray ( ) )
5656 . AddDiagnoser (
5757 MemoryDiagnoser . Default ,
58- new ExceptionDiagnoser ( new ExceptionDiagnoserConfig ( displayExceptionsIfZeroValue : false ) ) ,
59- new ThreadingDiagnoser ( new ThreadingDiagnoserConfig ( displayCompletedWorkItemCountWhenZero : false , displayLockContentionWhenZero : false ) )
58+ #if NET30_OR_GREATER
59+ new ThreadingDiagnoser ( new ThreadingDiagnoserConfig ( displayCompletedWorkItemCountWhenZero : false , displayLockContentionWhenZero : false ) ) ,
60+ #endif
61+ new ExceptionDiagnoser( new ExceptionDiagnoserConfig ( displayExceptionsIfZeroValue : false ) )
6062 )
6163 . AddExporter ( MarkdownExporter . Default )
6264 . AddValidator ( DefaultConfig . Instance . GetValidators ( ) . ToArray ( ) )
You can’t perform that action at this time.
0 commit comments