System.Runtime.Serialization.XmlReaderDelegator.XmlReaderDelegator.ThrowConversionException C# (CSharp) Method

ThrowConversionException() private method

private ThrowConversionException ( string value, string type ) : void
value string
type string
return void
        private void ThrowConversionException(string value, string type)
        {
            throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(XmlObjectSerializer.TryAddLineInfo(this, SR.Format(SR.XmlInvalidConversion, value, type))));
        }
XmlReaderDelegator.XmlReaderDelegator