src/Shared/EntityFramework/Core/EntityClient/DbParameterCollectionHelper.cs
/// <summary>
/// Gets the location of the specified <see cref="T:System.Object" /> in the collection.
/// </summary>
/// <returns>
/// The zero-based location of the specified <see cref="T:System.Object" /> that is a
/// <see
///     cref="T:System.Data.Entity.Core.EntityClient.EntityParameter" />
/// in the collection. Returns -1 when the object does not exist in the
/// <see
///     cref="T:System.Data.Entity.Core.EntityClient.EntityParameterCollection" />
/// .
/// </returns>
/// <param name="value">
/// The <see cref="T:System.Object" /> to find.
/// </param>
Gets the location of the specified  in the collection.
Gets the location of the specified in the collection .
public override int IndexOf(object value)
        {
            if (null != value)
            {
                ValidateType(value);
                var items = InnerList;
                if (null != items)
                {
                    var count = items.Count;
                    for (var i = 0; i < count; i++)
                    {
                        if (value == items[i])
                        {
                            return i;
                        }
                    }
                }
            }
            return -1;
        }
public override int IndexOf ( object value ) { if ( null != value ) { ValidateType ( value ) ; var items = InnerList ; if ( null != items ) { var count = items . Count ; for ( var i = 0 ; i < count ; i ++ ) { if ( value == items [ i ] ) { return i ; } } } } return - 1 ; }
Gets the location of the specified  in the collection.
Gets the location of the specified in the collection .
The zero-based location of the specified  that is a

in the collection. Returns -1 when the object does not exist in the


The zero - based location of the specified that is a in the collection . Returns - 1 when the object does not exist in the
value
object
The  to find.
The to find .