1 type derived from DatatypeImplementation
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.Xml\Xml\schema\DatatypeImplementation.cs (1)
1372internal class Datatype_anySimpleType : DatatypeImplementation
150 references to DatatypeImplementation
dotnet-svcutil-lib (150)
FrameworkFork\Microsoft.Xml\Xml\BinaryXml\XmlBinaryReader.cs (1)
4209XmlSchemaSimpleType xsst = DatatypeImplementation.GetSimpleTypeFromTypeCode(typeCode);
FrameworkFork\Microsoft.Xml\Xml\schema\DatatypeImplementation.cs (95)
105private DatatypeImplementation _baseType = null; 148internal new static DatatypeImplementation FromXmlTokenizedType(XmlTokenizedType token) 153internal new static DatatypeImplementation FromXmlTokenizedTypeXsd(XmlTokenizedType token) 158internal new static DatatypeImplementation FromXdrName(string name) 161return i < 0 ? null : (DatatypeImplementation)s_xdrTypes[i]; 164private static DatatypeImplementation FromTypeName(string name) 167return i < 0 ? null : (DatatypeImplementation)s_xsdTypes[i]; 236DatatypeImplementation dt = FromTypeName(qname.Name); 364while (currentType.BaseXmlSchemaType != DatatypeImplementation.AnySimpleType) 374DatatypeImplementation dt = (DatatypeImplementation)MemberwiseClone(); 397DatatypeImplementation dt = new Datatype_List(this, minSize); 405internal new static DatatypeImplementation DeriveByUnion(XmlSchemaSimpleType[] types, XmlSchemaType schemaType) 407DatatypeImplementation dt = new Datatype_union(types); 424for (DatatypeImplementation dt = this; dt != null; dt = dt._baseType) 431if (((DatatypeImplementation)datatype)._baseType == null) 534protected DatatypeImplementation Base { get { return _baseType; } } 652static private readonly DatatypeImplementation s_c_anySimpleType = new Datatype_anySimpleType(); 653static private readonly DatatypeImplementation s_anyURI = new Datatype_anyURI(); 654static private readonly DatatypeImplementation s_base64Binary = new Datatype_base64Binary(); 655static private readonly DatatypeImplementation s_boolean = new Datatype_boolean(); 656static private readonly DatatypeImplementation s_byte = new Datatype_byte(); 657static private readonly DatatypeImplementation s_char = new Datatype_char(); // XDR 658static private readonly DatatypeImplementation s_date = new Datatype_date(); 659static private readonly DatatypeImplementation s_dateTime = new Datatype_dateTime(); 660static private readonly DatatypeImplementation s_dateTimeNoTz = new Datatype_dateTimeNoTimeZone(); // XDR 661static private readonly DatatypeImplementation s_dateTimeTz = new Datatype_dateTimeTimeZone(); // XDR 662static private readonly DatatypeImplementation s_day = new Datatype_day(); 663static private readonly DatatypeImplementation s_decimal = new Datatype_decimal(); 664static private readonly DatatypeImplementation s_double = new Datatype_double(); 665static private readonly DatatypeImplementation s_doubleXdr = new Datatype_doubleXdr(); // XDR 666static private readonly DatatypeImplementation s_duration = new Datatype_duration(); 667static private readonly DatatypeImplementation s_ENTITY = new Datatype_ENTITY(); 668static private readonly DatatypeImplementation s_ENTITIES = (DatatypeImplementation)s_ENTITY.DeriveByList(1, null); 669static private readonly DatatypeImplementation s_ENUMERATION = new Datatype_ENUMERATION(); // XDR 670static private readonly DatatypeImplementation s_fixed = new Datatype_fixed(); 671static private readonly DatatypeImplementation s_float = new Datatype_float(); 672static private readonly DatatypeImplementation s_floatXdr = new Datatype_floatXdr(); // XDR 673static private readonly DatatypeImplementation s_hexBinary = new Datatype_hexBinary(); 674static private readonly DatatypeImplementation s_ID = new Datatype_ID(); 675static private readonly DatatypeImplementation s_IDREF = new Datatype_IDREF(); 676static private readonly DatatypeImplementation s_IDREFS = (DatatypeImplementation)s_IDREF.DeriveByList(1, null); 677static private readonly DatatypeImplementation s_int = new Datatype_int(); 678static private readonly DatatypeImplementation s_integer = new Datatype_integer(); 679static private readonly DatatypeImplementation s_language = new Datatype_language(); 680static private readonly DatatypeImplementation s_long = new Datatype_long(); 681static private readonly DatatypeImplementation s_month = new Datatype_month(); 682static private readonly DatatypeImplementation s_monthDay = new Datatype_monthDay(); 683static private readonly DatatypeImplementation s_name = new Datatype_Name(); 684static private readonly DatatypeImplementation s_NCName = new Datatype_NCName(); 685static private readonly DatatypeImplementation s_negativeInteger = new Datatype_negativeInteger(); 686static private readonly DatatypeImplementation s_NMTOKEN = new Datatype_NMTOKEN(); 687static private readonly DatatypeImplementation s_NMTOKENS = (DatatypeImplementation)s_NMTOKEN.DeriveByList(1, null); 688static private readonly DatatypeImplementation s_nonNegativeInteger = new Datatype_nonNegativeInteger(); 689static private readonly DatatypeImplementation s_nonPositiveInteger = new Datatype_nonPositiveInteger(); 690static private readonly DatatypeImplementation s_normalizedString = new Datatype_normalizedString(); 691static private readonly DatatypeImplementation s_NOTATION = new Datatype_NOTATION(); 692static private readonly DatatypeImplementation s_positiveInteger = new Datatype_positiveInteger(); 693static private readonly DatatypeImplementation s_QName = new Datatype_QName(); 694static private readonly DatatypeImplementation s_QNameXdr = new Datatype_QNameXdr(); //XDR 695static private readonly DatatypeImplementation s_short = new Datatype_short(); 696static private readonly DatatypeImplementation s_string = new Datatype_string(); 697static private readonly DatatypeImplementation s_time = new Datatype_time(); 698static private readonly DatatypeImplementation s_timeNoTz = new Datatype_timeNoTimeZone(); // XDR 699static private readonly DatatypeImplementation s_timeTz = new Datatype_timeTimeZone(); // XDR 700static private readonly DatatypeImplementation s_token = new Datatype_token(); 701static private readonly DatatypeImplementation s_unsignedByte = new Datatype_unsignedByte(); 702static private readonly DatatypeImplementation s_unsignedInt = new Datatype_unsignedInt(); 703static private readonly DatatypeImplementation s_unsignedLong = new Datatype_unsignedLong(); 704static private readonly DatatypeImplementation s_unsignedShort = new Datatype_unsignedShort(); 705static private readonly DatatypeImplementation s_uuid = new Datatype_uuid(); // XDR 706static private readonly DatatypeImplementation s_year = new Datatype_year(); 707static private readonly DatatypeImplementation s_yearMonth = new Datatype_yearMonth(); 710static internal readonly DatatypeImplementation c_normalizedStringV1Compat = new Datatype_normalizedStringV1Compat(); 711static internal readonly DatatypeImplementation c_tokenV1Compat = new Datatype_tokenV1Compat(); 714static private readonly DatatypeImplementation s_c_anyAtomicType = new Datatype_anyAtomicType(); 715static private readonly DatatypeImplementation s_dayTimeDuration = new Datatype_dayTimeDuration(); 716static private readonly DatatypeImplementation s_c_untypedAtomicType = new Datatype_untypedAtomicType(); 717static private readonly DatatypeImplementation s_yearMonthDuration = new Datatype_yearMonthDuration(); 723private DatatypeImplementation _type; 726internal SchemaDatatypeMap(string name, DatatypeImplementation type) 732internal SchemaDatatypeMap(string name, DatatypeImplementation type, int parentIndex) 738public static explicit operator DatatypeImplementation(SchemaDatatypeMap sdm) { return sdm._type; } 759private static readonly DatatypeImplementation[] s_tokenizedTypes = { 775private static readonly DatatypeImplementation[] s_tokenizedTypesXsd = { 925private DatatypeImplementation _itemType; 962} while (simpleType != null && simpleType != DatatypeImplementation.AnySimpleType); 967listItemType = DatatypeImplementation.GetSimpleTypeFromTypeCode(schemaType.Datatype.TypeCode); 973internal Datatype_List(DatatypeImplementation type) : this(type, 0) 976internal Datatype_List(DatatypeImplementation type, int minListSize) 1045internal DatatypeImplementation ItemType { get { return _itemType; } } 1255internal bool IsUnionBaseOf(DatatypeImplementation derivedType)
FrameworkFork\Microsoft.Xml\Xml\schema\FacetChecker.cs (6)
22private DatatypeImplementation _datatype; 38public FacetsCompiler(DatatypeImplementation baseDatatype, RestrictionFacets restriction) 48_nonNegativeInt = DatatypeImplementation.GetSimpleTypeFromTypeCode(XmlTypeCode.NonNegativeInteger).Datatype; 50_builtInType = (int)_builtInEnum > 0 ? DatatypeImplementation.GetSimpleTypeFromTypeCode(_builtInEnum).Datatype : _datatype; 306XmlSchemaDatatype positiveInt = DatatypeImplementation.GetSimpleTypeFromTypeCode(XmlTypeCode.PositiveInteger).Datatype; 898internal virtual RestrictionFacets ConstructRestriction(DatatypeImplementation datatype, XmlSchemaObjectCollection facets, XmlNameTable nameTable)
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (1)
566XmlSchemaDatatype tokenDt = DatatypeImplementation.GetSimpleTypeFromTypeCode(XmlTypeCode.Token).Datatype;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (14)
192_schema.SchemaTypes.Insert(DatatypeImplementation.QnAnyType, XmlSchemaComplexType.AnyType); 262_schema.SchemaTypes.Remove(DatatypeImplementation.QnAnyType); //For backward compatibility 526simpleType.SetBaseSchemaType(DatatypeImplementation.AnySimpleType); 571if (restriction.BaseTypeName.Equals(DatatypeImplementation.QnAnySimpleType)) 596simpleType.SetBaseSchemaType(DatatypeImplementation.AnySimpleType); 608simpleType.SetDatatype(DatatypeImplementation.AnySimpleType.Datatype); 909complexType.SetDatatype(DatatypeImplementation.AnySimpleType.Datatype); 2138decl.SchemaType = DatatypeImplementation.AnySimpleType; 2139decl.Datatype = DatatypeImplementation.AnySimpleType.Datatype; 2140xa.SetAttributeType(DatatypeImplementation.AnySimpleType); 2720type = DatatypeImplementation.GetSimpleTypeFromXsdType(name); 2726type = DatatypeImplementation.GetNormalizedStringTypeV1Compat(); 2730type = DatatypeImplementation.GetTokenTypeV1Compat(); 2764XmlSchemaSimpleType simpleType = DatatypeImplementation.GetSimpleTypeFromXsdType(name);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaElementDecl.cs (1)
56anyTypeElementDecl.Datatype = DatatypeImplementation.AnySimpleType.Datatype;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (15)
119XmlSchemaSimpleType[] schemaSimpleTypes = DatatypeImplementation.GetBuiltInTypes(); 184_schemaTypes.Insert(DatatypeImplementation.QnAnyType, XmlSchemaComplexType.AnyType); 187_schemaForSchema.SchemaTypes.Replace(DatatypeImplementation.QnAnyType, XmlSchemaComplexType.AnyType); 299if (complexType.QualifiedName == DatatypeImplementation.QnAnyType) 607simpleType.SetBaseSchemaType(DatatypeImplementation.AnySimpleType); 652if (restriction.BaseTypeName.Equals(DatatypeImplementation.QnAnySimpleType)) 681simpleType.SetBaseSchemaType(DatatypeImplementation.AnySimpleType); 693simpleType.SetDatatype(DatatypeImplementation.AnySimpleType.Datatype); 987complexType.SetDatatype(DatatypeImplementation.AnySimpleType.Datatype); 2548decl.SchemaType = DatatypeImplementation.AnySimpleType; 2549decl.Datatype = DatatypeImplementation.AnySimpleType.Datatype; 2550xa.SetAttributeType(DatatypeImplementation.AnySimpleType); 2830decl.DefaultValueTyped = DatatypeImplementation.AnySimpleType.Datatype.ParseValue(decl.DefaultValueRaw, NameTable, new SchemaNamespaceManager(xe)); 3188type = DatatypeImplementation.GetSimpleTypeFromXsdType(name); 3220XmlSchemaSimpleType simpleType = DatatypeImplementation.GetSimpleTypeFromXsdType(name);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexType.cs (1)
65localAnyType.SetQualifiedName(DatatypeImplementation.QnAnyType);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaDatatype.cs (4)
322return DatatypeImplementation.FromXmlTokenizedType(token); 327return DatatypeImplementation.FromXmlTokenizedTypeXsd(token); 332return DatatypeImplementation.FromXdrName(name); 337return DatatypeImplementation.DeriveByUnion(types, schemaType);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaDocumentation.cs (1)
24private static XmlSchemaSimpleType s_languageType = DatatypeImplementation.GetSimpleTypeFromXsdType(new XmlQualifiedName("language", XmlReservedNs.NsXs));
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSet.cs (4)
765if (_schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[DatatypeImplementation.QnAnyType] != null) 781if (_schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[DatatypeImplementation.QnAnyType] != null) 1079if (_schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[DatatypeImplementation.QnAnyType] != null) 1095if (_schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[DatatypeImplementation.QnAnyType] != null)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaType.cs (4)
45return DatatypeImplementation.GetSimpleTypeFromXsdType(qualifiedName); 54return DatatypeImplementation.GetSimpleTypeFromTypeCode(typeCode); 316if (bt == DatatypeImplementation.AnySimpleType) 346if (DatatypeImplementation.AnySimpleType.Datatype == baseDataType)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (1)
1711XmlSchemaType schemaType = DatatypeImplementation.GetSimpleTypeFromXsdType(xsiTypeName);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlValueConverter.cs (1)
2401protected XmlUntypedConverter() : base(DatatypeImplementation.UntypedAtomicType)
FrameworkFork\Microsoft.Xml\Xml\schema\xsdvalidator.cs (1)
410XmlSchemaSimpleType simpleType = DatatypeImplementation.GetSimpleTypeFromXsdType(new XmlQualifiedName(xsiType.Name, _nsXs));