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