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;
int int32Value;
exception = XmlConvert.TryToInt32(s, out int32Value);
if (exception != null) goto Error;
exception = s_numeric10FacetsChecker.CheckValueFacets(int32Value, this);
if (exception != null) goto Error;
typedValue = int32Value;
return null;
Error:
return exception;
}
}