internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
{
Exception exception;
typedValue = null;
exception = s_numeric10FacetsChecker.CheckLexicalFacets(ref s, this);
if (exception != null) goto Error;
short int16Value;
exception = XmlConvert.TryToInt16(s, out int16Value);
if (exception != null) goto Error;
exception = s_numeric10FacetsChecker.CheckValueFacets(int16Value, this);
if (exception != null) goto Error;
typedValue = int16Value;
return null;
Error:
return exception;
}
}