4 instantiations of CustomClass
Microsoft.CodeAnalysis.UnitTests (4)
Collections\SegmentedCollectionsMarshalTests.cs (4)
587
test<CustomClass>(Enumerable.Range(0, 17).Select(_ => new
CustomClass
()));
659
test<CustomClass>(Enumerable.Range(0, 17).Select(_ => new
CustomClass
()));
718
test<CustomClass>(() => new
CustomClass
());
785
test<CustomClass>(() => new
CustomClass
());
21 references to CustomClass
Microsoft.CodeAnalysis.UnitTests (21)
Collections\SegmentedCollectionsMarshalTests.cs (21)
412
Assert.True(SegmentedCollectionsMarshal.AsImmutableSegmentedList<
CustomClass
>(null).IsDefault);
427
Assert.True(SegmentedCollectionsMarshal.AsImmutableSegmentedList(new SegmentedList<
CustomClass
>(0)).IsEmpty);
456
test<
CustomClass
>();
471
Assert.Null(SegmentedCollectionsMarshal.AsSegmentedList<
CustomClass
>(default));
494
test<
CustomClass
>();
523
test<
CustomClass
>();
538
Assert.True(SegmentedCollectionsMarshal.AsImmutableSegmentedHashSet<
CustomClass
>(null).IsDefault);
553
Assert.True(SegmentedCollectionsMarshal.AsImmutableSegmentedHashSet(new SegmentedHashSet<
CustomClass
>(0)).IsEmpty);
587
test<
CustomClass
>(Enumerable.Range(0, 17).Select(_ => new CustomClass()));
602
Assert.Null(SegmentedCollectionsMarshal.AsSegmentedHashSet<
CustomClass
>(default));
625
test<
CustomClass
>();
659
test<
CustomClass
>(Enumerable.Range(0, 17).Select(_ => new CustomClass()));
674
Assert.True(SegmentedCollectionsMarshal.AsImmutableSegmentedDictionary<
CustomClass
,
CustomClass
>(null).IsDefault);
689
Assert.True(SegmentedCollectionsMarshal.AsImmutableSegmentedDictionary(new SegmentedDictionary<
CustomClass
,
CustomClass
>(0)).IsEmpty);
718
test<
CustomClass
>(() => new CustomClass());
733
Assert.Null(SegmentedCollectionsMarshal.AsSegmentedDictionary<
CustomClass
,
CustomClass
>(default));
756
test<
CustomClass
>();
785
test<
CustomClass
>(() => new CustomClass());