EFIngresProvider/EFIngresDataReader.cs
/// <summary>
/// Format 'InvalidCastException' msg with more information.
/// </summary>
Format 'InvalidCastException' msg with more information.
Format ' InvalidCastException ' msg with more information .
[Description("Format 'InvalidCastException' msg with more information.")]
        private string SpecifiedCastIsNotValid(Object obj, int ordinal)
        {
            string s;
            if (obj == null)
            {
                s = "<null>";
            }
            else
            {
                s = "Type." + obj.GetType().ToString();
            }
            return String.Format("Specified cast is not valid for object of {0} at column ordinal {1} ({2}).", s, ordinal, GetFieldType(ordinal).ToString());
        }
[ Description ( " " ) ] private string SpecifiedCastIsNotValid ( Object obj , int ordinal ) { string s ; if ( obj == null ) { s = " " ; } else { s = " " + obj . GetType ( ) . ToString ( ) ; } return String . Format ( " " , s , ordinal , GetFieldType ( ordinal ) . ToString ( ) ) ; }
Format 'InvalidCastException' msg with more information.
Format ' InvalidCastException ' msg with more information .
//	s = "TypeCode." + Type.GetTypeCode(obj.GetType()).ToString();
obj
Object
ordinal
int