@@ -16,8 +16,8 @@ internal static class BenchmarkCSharpCompilationFactory
16
16
throw new InvalidOperationException ( "Failed to create compilation" ) ;
17
17
}
18
18
19
- CompilationWithAnalyzers baseline = compilation . WithAnalyzers ( [ new EmptyDiagnosticAnalyzer ( ) ] , options , CancellationToken . None ) ;
20
- CompilationWithAnalyzers test = compilation . WithAnalyzers ( [ new TAnalyzer ( ) ] , options , CancellationToken . None ) ;
19
+ CompilationWithAnalyzers baseline = compilation . WithAnalyzers ( [ new EmptyDiagnosticAnalyzer ( ) ] , options ) ;
20
+ CompilationWithAnalyzers test = compilation . WithAnalyzers ( [ new TAnalyzer ( ) ] , options ) ;
21
21
22
22
return ( baseline , test ) ;
23
23
}
@@ -35,9 +35,9 @@ internal static class BenchmarkCSharpCompilationFactory
35
35
throw new InvalidOperationException ( "Failed to create compilation" ) ;
36
36
}
37
37
38
- CompilationWithAnalyzers baseline = compilation . WithAnalyzers ( [ new EmptyDiagnosticAnalyzer ( ) ] , options , CancellationToken . None ) ;
39
- CompilationWithAnalyzers test1 = compilation . WithAnalyzers ( [ new TAnalyzer1 ( ) ] , options , CancellationToken . None ) ;
40
- CompilationWithAnalyzers test2 = compilation . WithAnalyzers ( [ new TAnalyzer2 ( ) ] , options , CancellationToken . None ) ;
38
+ CompilationWithAnalyzers baseline = compilation . WithAnalyzers ( [ new EmptyDiagnosticAnalyzer ( ) ] , options ) ;
39
+ CompilationWithAnalyzers test1 = compilation . WithAnalyzers ( [ new TAnalyzer1 ( ) ] , options ) ;
40
+ CompilationWithAnalyzers test2 = compilation . WithAnalyzers ( [ new TAnalyzer2 ( ) ] , options ) ;
41
41
42
42
return ( baseline , test1 , test2 ) ;
43
43
}
0 commit comments