internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
{
Exception exception;
typedValue = null;
decimal decimalValue;
exception = XmlConvert.TryToDecimal(s, out decimalValue);
if (exception != null) goto Error;
Numeric10FacetsChecker facetsChecker = this.FacetsChecker as Numeric10FacetsChecker;
exception = facetsChecker.CheckTotalAndFractionDigits(decimalValue, 14 + 4, 4, true, true);
if (exception != null) goto Error;
typedValue = decimalValue;
return null;
Error:
return exception;
}
}