4 references to SingletonList
Microsoft.CodeAnalysis.UnitTests (4)
Collections\Extensions\EnumerableExtensionsTests.cs (4)
78
Assert.Equal(-1, SpecializedCollections.
SingletonList
(5).IndexOf(6));
79
Assert.Equal(0, SpecializedCollections.
SingletonList
(5).IndexOf(5));
90
Assert.Equal(-1, SpecializedCollections.
SingletonList
(5).IndexOf(-6, comparer));
91
Assert.Equal(0, SpecializedCollections.
SingletonList
(5).IndexOf(-5, comparer));