System.Xml.Serialization.XmlSerializationReader.CreateInvalidCastException C# (CSharp) Method

CreateInvalidCastException() protected method

protected CreateInvalidCastException ( Type type, object value ) : Exception
type Type
value object
return Exception
        protected Exception CreateInvalidCastException(Type type, object value)
        {
            return CreateInvalidCastException(type, value, null);
        }

Same methods

XmlSerializationReader::CreateInvalidCastException ( Type type, object value, string id ) : Exception