12 instantiations of LambdaComparer
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (12)
SourceGeneration\GeneratorDriverTests.cs (3)
1503
.WithComparer(new
LambdaComparer
<string>((_, _) => throw e));
1952
var compilationSource = ctx.CompilationProvider.WithComparer(new
LambdaComparer
<Compilation>((c1, c2) => true, 0));
1990
.WithComparer(new
LambdaComparer
<(Compilation, ImmutableArray<AdditionalText>)>((c1, c2) => c1.Item1 == c2.Item1, 0))
SourceGeneration\StateTableTests.cs (2)
238
Assert.True(builder.TryModifyEntry(5, new
LambdaComparer
<int>((i, j) => true), TimeSpan.Zero, default, EntryState.Modified)); // ((3, EntryState.Cached))
920
.WithComparer(new
LambdaComparer
<int>((a, b) => false));
SourceGeneration\SyntaxAwareGeneratorTests.cs (7)
1516
source = source.WithComparer(new
LambdaComparer
<string>((a, b) => true)).WithTrackingName("Fields");
1577
source = source.WithComparer(new
LambdaComparer
<string>((a, b) => false));
1578
source = source.WithComparer(new
LambdaComparer
<string>((a, b) => false));
1579
source = source.WithComparer(new
LambdaComparer
<string>((a, b) => false));
1580
source = source.WithComparer(new
LambdaComparer
<string>((a, b) => false));
1634
var comparerSource = source.WithComparer(new
LambdaComparer
<string>((a, b) => true));
1797
var comparerSource = source.WithComparer(new
LambdaComparer
<string>((a, b) => false));