Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Datatype_doubleXdr.cs
Go to the documentation of this file.
1
namespace
System.Xml.Schema
;
2
3
internal
sealed
class
Datatype_doubleXdr
:
Datatype_double
4
{
5
public
override
object
ParseValue
(
string
s
,
XmlNameTable
nameTable
,
IXmlNamespaceResolver
nsmgr
)
6
{
7
double
num;
8
try
9
{
10
num =
XmlConvert
.
ToDouble
(
s
);
11
}
12
catch
(
Exception
innerException
)
13
{
14
throw
new
XmlSchemaException
(
System
.
SR
.
Format
(
System
.
SR
.
Sch_InvalidValue
,
s
),
innerException
);
15
}
16
if
(!
double
.IsFinite(num))
17
{
18
throw
new
XmlSchemaException
(
System
.
SR
.
Sch_InvalidValue
,
s
);
19
}
20
return
num;
21
}
22
}
System.Exception
Definition
Exception.cs:15
System.SR.Format
static string Format(string resourceFormat, object p1)
Definition
SR.cs:118
System.SR.Sch_InvalidValue
static string Sch_InvalidValue
Definition
SR.cs:484
System.SR
Definition
SR.cs:7
System.Xml.Schema.Datatype_doubleXdr.ParseValue
override object ParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr)
Definition
Datatype_doubleXdr.cs:5
System.Xml.Schema.Datatype_doubleXdr
Definition
Datatype_doubleXdr.cs:4
System.Xml.Schema.Datatype_double
Definition
Datatype_double.cs:4
System.Xml.Schema.XmlSchemaException
Definition
XmlSchemaException.cs:10
System.Xml.XmlConvert.ToDouble
static double ToDouble(string s)
Definition
XmlConvert.cs:900
System.Xml.XmlConvert
Definition
XmlConvert.cs:11
System.Xml.XmlNameTable
Definition
XmlNameTable.cs:4
System.Xml.IXmlNamespaceResolver
Definition
IXmlNamespaceResolver.cs:6
System.Xml.Schema
Definition
Extensions.cs:3
System.Xml.ValueHandleType.Dictionary
@ Dictionary
System.ExceptionArgument.s
@ s
System
Definition
BlockingCollection.cs:8
source
System.Private.Xml
System.Xml.Schema
Datatype_doubleXdr.cs
Generated by
1.10.0