4 references to ReadOnlyList
Microsoft.CodeAnalysis.UnitTests (4)
Collections\EnumerableExtensionsTests.cs (4)
61
Assert.Equal(-1, ((IEnumerable<int>)new
ReadOnlyList
<int>(5)).IndexOf(6));
62
Assert.Equal(0, ((IEnumerable<int>)new
ReadOnlyList
<int>(5)).IndexOf(5));
76
Assert.Equal(-1, ((IEnumerable<int>)new
ReadOnlyList
<int>(5)).IndexOf(-6, comparer));
77
Assert.Equal(0, ((IEnumerable<int>)new
ReadOnlyList
<int>(5)).IndexOf(-5, comparer));