11 references to IndexOfFunc
Microsoft.CodeAnalysis.UnitTests (11)
Collections\ImmutableListTestBase.cs (11)
278this.AssertIListBaseline(IndexOfFunc, 1, null);
279this.AssertIListBaseline(IndexOfFunc, "item", null);
280this.AssertIListBaseline(IndexOfFunc, new int?(1), null);
281this.AssertIListBaseline(IndexOfFunc, new int?(), null);
287this.AssertIListBaseline(IndexOfFunc, "first item", new object());
288this.AssertIListBaseline(IndexOfFunc, 1, 1.0);
290this.AssertIListBaseline(IndexOfFunc, new int?(1), 1);
291this.AssertIListBaseline(IndexOfFunc, new int?(1), new int?(1));
292this.AssertIListBaseline(IndexOfFunc, new int?(1), string.Empty);
298this.AssertIListBaseline(IndexOfFunc, new ProgrammaticEquals(v => v is string), "foo");
299this.AssertIListBaseline(IndexOfFunc, new ProgrammaticEquals(v => v is string), 3);