17 references to IndexOfMethod
Microsoft.CodeAnalysis.UnitTests (17)
Collections\List\SegmentedList.Generic.Tests.IndexOf.cs (17)
37private IndexOfDelegate IndexOfDelegateFromType(IndexOfMethod methodType)
41case (IndexOfMethod.IndexOf_T):
43case (IndexOfMethod.IndexOf_T_int):
45case (IndexOfMethod.IndexOf_T_int_int):
47case (IndexOfMethod.LastIndexOf_T):
49case (IndexOfMethod.LastIndexOf_T_int):
51case (IndexOfMethod.LastIndexOf_T_int_int):
69yield return new object[] { IndexOfMethod.IndexOf_T, count, true };
70yield return new object[] { IndexOfMethod.LastIndexOf_T, count, false };
74yield return new object[] { IndexOfMethod.IndexOf_T_int, count, true };
75yield return new object[] { IndexOfMethod.LastIndexOf_T_int, count, false };
76yield return new object[] { IndexOfMethod.IndexOf_T_int_int, count, true };
77yield return new object[] { IndexOfMethod.LastIndexOf_T_int_int, count, false };
88public void IndexOf_NoDuplicates(IndexOfMethod indexOfMethod, int count, bool frontToBackOrder)
103public void IndexOf_NonExistingValues(IndexOfMethod indexOfMethod, int count, bool frontToBackOrder)
118public void IndexOf_DefaultValue(IndexOfMethod indexOfMethod, int count, bool frontToBackOrder)
132public void IndexOf_OrderIsCorrect(IndexOfMethod indexOfMethod, int count, bool frontToBackOrder)