36 references to GetBuiltInSimpleType
dotnet-svcutil-lib (36)
FrameworkFork\Microsoft.Xml\Xml\schema\DtdParser.cs (2)
776
attrDef.SchemaType = XmlSchemaType.
GetBuiltInSimpleType
(attrDef.Datatype.TypeCode);
856
attrDef.SchemaType = XmlSchemaType.
GetBuiltInSimpleType
(attrDef.Datatype.TypeCode);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (1)
357
if (simpleType == XmlSchemaType.
GetBuiltInSimpleType
(simpleType.TypeCode))
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (4)
2494
tempXsiTypeSO.SetAttributeType(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.QName));
2502
tempxsiNilSO.SetAttributeType(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.Boolean));
2507
XmlSchemaSimpleType stringType = XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.String);
2516
XmlSchemaSimpleType stringType = XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.String);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlValueConverter.cs (29)
295
schemaType = XmlSchemaType.
GetBuiltInSimpleType
(datatype.TypeCode);
3195
if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.Boolean), (bool)value));
3205
if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.DateTime), (DateTime)value));
3215
if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.DateTime), (DateTimeOffset)value));
3225
if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.Decimal), value));
3235
if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.Double), (double)value));
3245
if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.Int), (int)value));
3255
if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.Long), (long)value));
3265
if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.Float), value));
3276
if (destinationType == XmlAtomicValueType) return (new XmlAtomicValue(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.String), (string)value));
3324
if (sourceType == BooleanType) return (new XmlAtomicValue(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.Boolean), (bool)value));
3325
if (sourceType == ByteType) return (new XmlAtomicValue(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.UnsignedByte), value));
3326
if (sourceType == ByteArrayType) return (new XmlAtomicValue(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.Base64Binary), value));
3327
if (sourceType == DateTimeType) return (new XmlAtomicValue(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.DateTime), (DateTime)value));
3328
if (sourceType == DateTimeOffsetType) return (new XmlAtomicValue(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.DateTime), (DateTimeOffset)value));
3329
if (sourceType == DecimalType) return (new XmlAtomicValue(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.Decimal), value));
3330
if (sourceType == DoubleType) return (new XmlAtomicValue(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.Double), (double)value));
3331
if (sourceType == Int16Type) return (new XmlAtomicValue(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.Short), value));
3332
if (sourceType == Int32Type) return (new XmlAtomicValue(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.Int), (int)value));
3333
if (sourceType == Int64Type) return (new XmlAtomicValue(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.Long), (long)value));
3334
if (sourceType == SByteType) return (new XmlAtomicValue(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.Byte), value));
3335
if (sourceType == SingleType) return (new XmlAtomicValue(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.Float), value));
3336
if (sourceType == StringType) return (new XmlAtomicValue(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.String), (string)value));
3337
if (sourceType == TimeSpanType) return (new XmlAtomicValue(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.Duration), value));
3338
if (sourceType == UInt16Type) return (new XmlAtomicValue(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.UnsignedShort), value));
3339
if (sourceType == UInt32Type) return (new XmlAtomicValue(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.UnsignedInt), value));
3340
if (sourceType == UInt64Type) return (new XmlAtomicValue(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.UnsignedLong), value));
3341
if (IsDerivedFrom(sourceType, UriType)) return (new XmlAtomicValue(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.AnyUri), value));
3342
if (IsDerivedFrom(sourceType, XmlQualifiedNameType)) return (new XmlAtomicValue(XmlSchemaType.
GetBuiltInSimpleType
(XmlTypeCode.QName), value, nsResolver));