3 references to IndexOfNullOrDuplicateItem
Microsoft.CodeAnalysis.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\PublicContract.cs (3)
81if (list.IndexOfNullOrDuplicateItem() >= 0) 90=> (sequence is IReadOnlyList<T> list) ? IndexOfNullOrDuplicateItem(list) : EnumeratingIndexOfNullOrDuplicateItem(sequence); 146var index = list.IndexOfNullOrDuplicateItem();