1 type derived from DatatypeImplementation
System.Xml (1)
System\Xml\Schema\DataTypeImplementation.cs (1)
1200
internal class Datatype_anySimpleType :
DatatypeImplementation
{
150 references to DatatypeImplementation
System.Xml (150)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
3722
XmlSchemaSimpleType xsst =
DatatypeImplementation
.GetSimpleTypeFromTypeCode(typeCode);
System\Xml\Schema\DataTypeImplementation.cs (95)
96
private
DatatypeImplementation
baseType = null;
138
internal new static
DatatypeImplementation
FromXmlTokenizedType(XmlTokenizedType token) {
142
internal new static
DatatypeImplementation
FromXmlTokenizedTypeXsd(XmlTokenizedType token) {
146
internal new static
DatatypeImplementation
FromXdrName(string name) {
148
return i < 0 ? null : (
DatatypeImplementation
)c_XdrTypes[i];
151
private static
DatatypeImplementation
FromTypeName(string name) {
153
return i < 0 ? null : (
DatatypeImplementation
)c_XsdTypes[i];
216
DatatypeImplementation
dt = FromTypeName(qname.Name);
329
while (currentType.BaseXmlSchemaType !=
DatatypeImplementation
.AnySimpleType) {
337
DatatypeImplementation
dt = (
DatatypeImplementation
)MemberwiseClone();
356
DatatypeImplementation
dt = new Datatype_List(this, minSize);
364
internal new static
DatatypeImplementation
DeriveByUnion(XmlSchemaSimpleType[] types, XmlSchemaType schemaType) {
365
DatatypeImplementation
dt = new Datatype_union(types);
380
for(
DatatypeImplementation
dt = this; dt != null; dt = dt.baseType) {
385
if (((
DatatypeImplementation
)datatype).baseType == null) { //Both are built-in types
469
protected
DatatypeImplementation
Base { get { return baseType; }}
565
static private readonly
DatatypeImplementation
c_anySimpleType = new Datatype_anySimpleType();
566
static private readonly
DatatypeImplementation
c_anyURI = new Datatype_anyURI();
567
static private readonly
DatatypeImplementation
c_base64Binary = new Datatype_base64Binary();
568
static private readonly
DatatypeImplementation
c_boolean = new Datatype_boolean();
569
static private readonly
DatatypeImplementation
c_byte = new Datatype_byte();
570
static private readonly
DatatypeImplementation
c_char = new Datatype_char(); // XDR
571
static private readonly
DatatypeImplementation
c_date = new Datatype_date();
572
static private readonly
DatatypeImplementation
c_dateTime = new Datatype_dateTime();
573
static private readonly
DatatypeImplementation
c_dateTimeNoTz = new Datatype_dateTimeNoTimeZone(); // XDR
574
static private readonly
DatatypeImplementation
c_dateTimeTz = new Datatype_dateTimeTimeZone(); // XDR
575
static private readonly
DatatypeImplementation
c_day = new Datatype_day();
576
static private readonly
DatatypeImplementation
c_decimal = new Datatype_decimal();
577
static private readonly
DatatypeImplementation
c_double = new Datatype_double();
578
static private readonly
DatatypeImplementation
c_doubleXdr = new Datatype_doubleXdr(); // XDR
579
static private readonly
DatatypeImplementation
c_duration = new Datatype_duration();
580
static private readonly
DatatypeImplementation
c_ENTITY = new Datatype_ENTITY();
581
static private readonly
DatatypeImplementation
c_ENTITIES = (
DatatypeImplementation
)c_ENTITY.DeriveByList(1, null);
582
static private readonly
DatatypeImplementation
c_ENUMERATION = new Datatype_ENUMERATION(); // XDR
583
static private readonly
DatatypeImplementation
c_fixed = new Datatype_fixed();
584
static private readonly
DatatypeImplementation
c_float = new Datatype_float();
585
static private readonly
DatatypeImplementation
c_floatXdr = new Datatype_floatXdr(); // XDR
586
static private readonly
DatatypeImplementation
c_hexBinary = new Datatype_hexBinary();
587
static private readonly
DatatypeImplementation
c_ID = new Datatype_ID();
588
static private readonly
DatatypeImplementation
c_IDREF = new Datatype_IDREF();
589
static private readonly
DatatypeImplementation
c_IDREFS = (
DatatypeImplementation
)c_IDREF.DeriveByList(1, null);
590
static private readonly
DatatypeImplementation
c_int = new Datatype_int();
591
static private readonly
DatatypeImplementation
c_integer = new Datatype_integer();
592
static private readonly
DatatypeImplementation
c_language = new Datatype_language();
593
static private readonly
DatatypeImplementation
c_long = new Datatype_long();
594
static private readonly
DatatypeImplementation
c_month = new Datatype_month();
595
static private readonly
DatatypeImplementation
c_monthDay = new Datatype_monthDay();
596
static private readonly
DatatypeImplementation
c_Name = new Datatype_Name();
597
static private readonly
DatatypeImplementation
c_NCName = new Datatype_NCName();
598
static private readonly
DatatypeImplementation
c_negativeInteger = new Datatype_negativeInteger();
599
static private readonly
DatatypeImplementation
c_NMTOKEN = new Datatype_NMTOKEN();
600
static private readonly
DatatypeImplementation
c_NMTOKENS = (
DatatypeImplementation
)c_NMTOKEN.DeriveByList(1, null);
601
static private readonly
DatatypeImplementation
c_nonNegativeInteger = new Datatype_nonNegativeInteger();
602
static private readonly
DatatypeImplementation
c_nonPositiveInteger = new Datatype_nonPositiveInteger();
603
static private readonly
DatatypeImplementation
c_normalizedString = new Datatype_normalizedString();
604
static private readonly
DatatypeImplementation
c_NOTATION = new Datatype_NOTATION();
605
static private readonly
DatatypeImplementation
c_positiveInteger = new Datatype_positiveInteger();
606
static private readonly
DatatypeImplementation
c_QName = new Datatype_QName();
607
static private readonly
DatatypeImplementation
c_QNameXdr = new Datatype_QNameXdr(); //XDR
608
static private readonly
DatatypeImplementation
c_short = new Datatype_short();
609
static private readonly
DatatypeImplementation
c_string = new Datatype_string();
610
static private readonly
DatatypeImplementation
c_time = new Datatype_time();
611
static private readonly
DatatypeImplementation
c_timeNoTz = new Datatype_timeNoTimeZone(); // XDR
612
static private readonly
DatatypeImplementation
c_timeTz = new Datatype_timeTimeZone(); // XDR
613
static private readonly
DatatypeImplementation
c_token = new Datatype_token();
614
static private readonly
DatatypeImplementation
c_unsignedByte = new Datatype_unsignedByte();
615
static private readonly
DatatypeImplementation
c_unsignedInt = new Datatype_unsignedInt();
616
static private readonly
DatatypeImplementation
c_unsignedLong = new Datatype_unsignedLong();
617
static private readonly
DatatypeImplementation
c_unsignedShort = new Datatype_unsignedShort();
618
static private readonly
DatatypeImplementation
c_uuid = new Datatype_uuid(); // XDR
619
static private readonly
DatatypeImplementation
c_year = new Datatype_year();
620
static private readonly
DatatypeImplementation
c_yearMonth = new Datatype_yearMonth();
623
static internal readonly
DatatypeImplementation
c_normalizedStringV1Compat = new Datatype_normalizedStringV1Compat();
624
static internal readonly
DatatypeImplementation
c_tokenV1Compat = new Datatype_tokenV1Compat();
627
static private readonly
DatatypeImplementation
c_anyAtomicType = new Datatype_anyAtomicType();
628
static private readonly
DatatypeImplementation
c_dayTimeDuration = new Datatype_dayTimeDuration();
629
static private readonly
DatatypeImplementation
c_untypedAtomicType = new Datatype_untypedAtomicType();
630
static private readonly
DatatypeImplementation
c_yearMonthDuration = new Datatype_yearMonthDuration();
635
DatatypeImplementation
type;
638
internal SchemaDatatypeMap(string name,
DatatypeImplementation
type) {
643
internal SchemaDatatypeMap(string name,
DatatypeImplementation
type, int parentIndex) {
648
public static explicit operator
DatatypeImplementation
(SchemaDatatypeMap sdm) { return sdm.type; }
665
private static readonly
DatatypeImplementation
[] c_tokenizedTypes = {
681
private static readonly
DatatypeImplementation
[] c_tokenizedTypesXsd = {
827
DatatypeImplementation
itemType;
856
} while (simpleType != null && simpleType !=
DatatypeImplementation
.AnySimpleType);
860
listItemType =
DatatypeImplementation
.GetSimpleTypeFromTypeCode(schemaType.Datatype.TypeCode);
866
internal Datatype_List(
DatatypeImplementation
type) : this(type, 0) {
868
internal Datatype_List(
DatatypeImplementation
type, int minListSize) {
924
internal
DatatypeImplementation
ItemType { get { return itemType; }}
1103
internal bool IsUnionBaseOf(
DatatypeImplementation
derivedType) {
System\Xml\Schema\FacetChecker.cs (6)
26
DatatypeImplementation
datatype;
42
public FacetsCompiler(
DatatypeImplementation
baseDatatype, RestrictionFacets restriction) {
51
nonNegativeInt =
DatatypeImplementation
.GetSimpleTypeFromTypeCode(XmlTypeCode.NonNegativeInteger).Datatype;
53
builtInType = (int)builtInEnum > 0 ?
DatatypeImplementation
.GetSimpleTypeFromTypeCode(builtInEnum).Datatype : datatype;
257
XmlSchemaDatatype positiveInt =
DatatypeImplementation
.GetSimpleTypeFromTypeCode(XmlTypeCode.PositiveInteger).Datatype;
735
internal virtual RestrictionFacets ConstructRestriction(
DatatypeImplementation
datatype, XmlSchemaObjectCollection facets, XmlNameTable nameTable) {
System\Xml\Schema\Preprocessor.cs (1)
478
XmlSchemaDatatype tokenDt =
DatatypeImplementation
.GetSimpleTypeFromTypeCode(XmlTypeCode.Token).Datatype;
System\Xml\Schema\SchemaCollectionCompiler.cs (14)
160
this.schema.SchemaTypes.Insert(
DatatypeImplementation
.QnAnyType, XmlSchemaComplexType.AnyType);
212
this.schema.SchemaTypes.Remove(
DatatypeImplementation
.QnAnyType); //For backward compatibility
420
simpleType.SetBaseSchemaType(
DatatypeImplementation
.AnySimpleType);
456
if (restriction.BaseTypeName.Equals(
DatatypeImplementation
.QnAnySimpleType)) {
476
simpleType.SetBaseSchemaType(
DatatypeImplementation
.AnySimpleType);
486
simpleType.SetDatatype(
DatatypeImplementation
.AnySimpleType.Datatype);
723
complexType.SetDatatype(
DatatypeImplementation
.AnySimpleType.Datatype);
1693
decl.SchemaType =
DatatypeImplementation
.AnySimpleType;
1694
decl.Datatype =
DatatypeImplementation
.AnySimpleType.Datatype;
1695
xa.SetAttributeType(
DatatypeImplementation
.AnySimpleType);
2152
type =
DatatypeImplementation
.GetSimpleTypeFromXsdType(name);
2156
type =
DatatypeImplementation
.GetNormalizedStringTypeV1Compat();
2159
type =
DatatypeImplementation
.GetTokenTypeV1Compat();
2186
XmlSchemaSimpleType simpleType =
DatatypeImplementation
.GetSimpleTypeFromXsdType(name);
System\Xml\Schema\SchemaElementDecl.cs (1)
59
anyTypeElementDecl.Datatype =
DatatypeImplementation
.AnySimpleType.Datatype;
System\Xml\Schema\SchemaSetCompiler.cs (15)
99
XmlSchemaSimpleType[] schemaSimpleTypes =
DatatypeImplementation
.GetBuiltInTypes();
152
schemaTypes.Insert(
DatatypeImplementation
.QnAnyType, XmlSchemaComplexType.AnyType);
154
schemaForSchema.SchemaTypes.Replace(
DatatypeImplementation
.QnAnyType, XmlSchemaComplexType.AnyType);
241
if (complexType.QualifiedName ==
DatatypeImplementation
.QnAnyType) { //if it is built-in anyType dont clean it.
484
simpleType.SetBaseSchemaType(
DatatypeImplementation
.AnySimpleType);
520
if (restriction.BaseTypeName.Equals(
DatatypeImplementation
.QnAnySimpleType)) {
543
simpleType.SetBaseSchemaType(
DatatypeImplementation
.AnySimpleType);
553
simpleType.SetDatatype(
DatatypeImplementation
.AnySimpleType.Datatype);
781
complexType.SetDatatype(
DatatypeImplementation
.AnySimpleType.Datatype);
2023
decl.SchemaType =
DatatypeImplementation
.AnySimpleType;
2024
decl.Datatype =
DatatypeImplementation
.AnySimpleType.Datatype;
2025
xa.SetAttributeType(
DatatypeImplementation
.AnySimpleType);
2246
decl.DefaultValueTyped =
DatatypeImplementation
.AnySimpleType.Datatype.ParseValue(decl.DefaultValueRaw, NameTable, new SchemaNamespaceManager(xe));
2526
type =
DatatypeImplementation
.GetSimpleTypeFromXsdType(name);
2551
XmlSchemaSimpleType simpleType =
DatatypeImplementation
.GetSimpleTypeFromXsdType(name);
System\Xml\Schema\XmlSchemaComplexType.cs (1)
62
localAnyType.SetQualifiedName(
DatatypeImplementation
.QnAnyType);
System\Xml\Schema\XmlSchemaDataType.cs (4)
292
return
DatatypeImplementation
.FromXmlTokenizedType(token);
296
return
DatatypeImplementation
.FromXmlTokenizedTypeXsd(token);
300
return
DatatypeImplementation
.FromXdrName(name);
304
return
DatatypeImplementation
.DeriveByUnion(types, schemaType);
System\Xml\Schema\XmlSchemaDocumentation.cs (1)
22
static XmlSchemaSimpleType languageType =
DatatypeImplementation
.GetSimpleTypeFromXsdType(new XmlQualifiedName("language",XmlReservedNs.NsXs));
System\Xml\Schema\XmlSchemaSet.cs (4)
654
if (schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[
DatatypeImplementation
.QnAnyType] != null) { //it has xs:anyType
666
if (schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[
DatatypeImplementation
.QnAnyType] != null) { //it has xs:anyType
926
if (schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[
DatatypeImplementation
.QnAnyType] != null) { //it has xs:anyType
938
if (schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[
DatatypeImplementation
.QnAnyType] != null) { //it has xs:anyType
System\Xml\Schema\XmlSchemaType.cs (4)
41
return
DatatypeImplementation
.GetSimpleTypeFromXsdType(qualifiedName);
49
return
DatatypeImplementation
.GetSimpleTypeFromTypeCode(typeCode);
268
if (bt ==
DatatypeImplementation
.AnySimpleType) { //Not checking block=restriction
293
if (
DatatypeImplementation
.AnySimpleType.Datatype == baseDataType) {
System\Xml\Schema\XmlSchemaValidator.cs (1)
1422
XmlSchemaType schemaType =
DatatypeImplementation
.GetSimpleTypeFromXsdType(xsiTypeName);
System\Xml\Schema\XmlValueConverter.cs (1)
2167
protected XmlUntypedConverter() : base(
DatatypeImplementation
.UntypedAtomicType) {
System\Xml\Schema\XsdValidator.cs (1)
338
XmlSchemaSimpleType simpleType =
DatatypeImplementation
.GetSimpleTypeFromXsdType(new XmlQualifiedName(xsiType.Name,NsXs));