System.Data.Common.ADP.CollectionIndexString C# (CSharp) Method

CollectionIndexString() static private method

static private CollectionIndexString ( Type itemType, string propertyName, string propertyValue, Type collection ) : IndexOutOfRangeException
itemType System.Type
propertyName string
propertyValue string
collection System.Type
return System.IndexOutOfRangeException
        static internal IndexOutOfRangeException CollectionIndexString(Type itemType, string propertyName, string propertyValue, Type collection)
        {
            return IndexOutOfRange(Res.GetString(Res.ADP_CollectionIndexString, itemType.Name, propertyName, propertyValue, collection.Name));
        }
        static internal InvalidCastException CollectionInvalidType(Type collection, Type itemType, object invalidValue)
ADP