internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue)
{
Exception exception;
typedValue = null;
exception = stringFacetsChecker.CheckLexicalFacets(ref s, this);
if (exception != null) goto Error;
Uri uri;
exception = XmlConvert.TryToUri(s, out uri);
if (exception != null) goto Error;
string stringValue = uri.OriginalString;
exception = ((StringFacetsChecker)stringFacetsChecker).CheckValueFacets(stringValue, this, false);
if (exception != null) goto Error;
typedValue = uri;
return null;
Error:
return exception;
}
}