1 type derived from XmlSchemaDatatype
System.Private.Xml (1)
System\Xml\Schema\DataTypeImplementation.cs (1)
97internal abstract class DatatypeImplementation : XmlSchemaDatatype
158 references to XmlSchemaDatatype
netstandard (1)
netstandard.cs (1)
2319[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.XmlSchemaDatatype))]
System.Private.Xml (155)
System\Xml\Core\XmlValidatingReaderImpl.cs (3)
962XmlSchemaDatatype? dtype = (SchemaType is XmlSchemaDatatype) ? (XmlSchemaDatatype)SchemaType : ((XmlSchemaType)SchemaType).Datatype;
System\Xml\Schema\AutoValidator.cs (1)
101reader.SchemaTypeObject = XmlSchemaDatatype.FromXdrName(reader.Value);
System\Xml\Schema\ConstraintStruct.cs (3)
193private XmlSchemaDatatype _xsdtype; 230public XmlSchemaDatatype Type 236public TypedObject(object? obj, string svalue, XmlSchemaDatatype xsdtype)
System\Xml\Schema\DataTypeImplementation.cs (7)
169internal static XmlSchemaSimpleType StartBuiltinType(XmlQualifiedName qname, XmlSchemaDatatype dataType) 368internal override XmlSchemaDatatype DeriveByRestriction(XmlSchemaObjectCollection facets, XmlNameTable nameTable, XmlSchemaType schemaType) 378internal override XmlSchemaDatatype DeriveByList(XmlSchemaType? schemaType) 383internal XmlSchemaDatatype DeriveByList(int minSize, XmlSchemaType? schemaType) 413public override bool IsDerivedFrom(XmlSchemaDatatype datatype) 451internal override bool IsComparable(XmlSchemaDatatype dtype) 1182XmlSchemaDatatype datatype = schemaType1.Datatype!;
System\Xml\Schema\DtdValidator.cs (3)
346XmlSchemaDatatype? dtype = isAttn ? attdef!.Datatype : context!.ElementDecl!.Datatype; 534XmlSchemaDatatype dtype = attdef.Datatype; 570XmlSchemaDatatype dtype = attdef.Datatype;
System\Xml\Schema\FacetChecker.cs (52)
30private readonly XmlSchemaDatatype _nonNegativeInt; 31private readonly XmlSchemaDatatype _builtInType; 303XmlSchemaDatatype positiveInt = DatatypeImplementation.GetSimpleTypeFromTypeCode(XmlTypeCode.PositiveInteger).Datatype!; 663private static object ParseFacetValue(XmlSchemaDatatype datatype, XmlSchemaFacet facet, string code, IXmlNamespaceResolver? nsmgr, XmlNameTable? nameTable) 777internal virtual Exception? CheckLexicalFacets(ref string parseString, XmlSchemaDatatype datatype) 782internal virtual Exception? CheckValueFacets(object value, XmlSchemaDatatype datatype) 786internal virtual Exception? CheckValueFacets(decimal value, XmlSchemaDatatype datatype) 790internal virtual Exception? CheckValueFacets(long value, XmlSchemaDatatype datatype) 794internal virtual Exception? CheckValueFacets(int value, XmlSchemaDatatype datatype) 798internal virtual Exception? CheckValueFacets(short value, XmlSchemaDatatype datatype) 802internal virtual Exception? CheckValueFacets(DateTime value, XmlSchemaDatatype datatype) 806internal virtual Exception? CheckValueFacets(double value, XmlSchemaDatatype datatype) 810internal virtual Exception? CheckValueFacets(float value, XmlSchemaDatatype datatype) 814internal virtual Exception? CheckValueFacets(string value, XmlSchemaDatatype datatype) 818internal virtual Exception? CheckValueFacets(byte[] value, XmlSchemaDatatype datatype) 822internal virtual Exception? CheckValueFacets(TimeSpan value, XmlSchemaDatatype datatype) 826internal virtual Exception? CheckValueFacets(XmlQualifiedName value, XmlSchemaDatatype datatype) 831internal static void CheckWhitespaceFacets(ref string s, XmlSchemaDatatype datatype) 885internal virtual bool MatchEnumeration(object value, ArrayList enumeration, XmlSchemaDatatype datatype) 997internal override Exception? CheckValueFacets(object value, XmlSchemaDatatype datatype) 1003internal override Exception? CheckValueFacets(decimal value, XmlSchemaDatatype datatype) 1061internal override Exception? CheckValueFacets(long value, XmlSchemaDatatype datatype) 1067internal override Exception? CheckValueFacets(int value, XmlSchemaDatatype datatype) 1072internal override Exception? CheckValueFacets(short value, XmlSchemaDatatype datatype) 1077internal override bool MatchEnumeration(object value, ArrayList enumeration, XmlSchemaDatatype datatype) 1122internal override Exception? CheckValueFacets(object value, XmlSchemaDatatype datatype) 1128internal override Exception? CheckValueFacets(double value, XmlSchemaDatatype datatype) 1174internal override Exception? CheckValueFacets(float value, XmlSchemaDatatype datatype) 1179internal override bool MatchEnumeration(object value, ArrayList enumeration, XmlSchemaDatatype datatype) 1198internal override Exception? CheckValueFacets(object value, XmlSchemaDatatype datatype) 1204internal override Exception? CheckValueFacets(TimeSpan value, XmlSchemaDatatype datatype) 1249internal override bool MatchEnumeration(object value, ArrayList enumeration, XmlSchemaDatatype datatype) 1269internal override Exception? CheckValueFacets(object value, XmlSchemaDatatype datatype) 1275internal override Exception? CheckValueFacets(DateTime value, XmlSchemaDatatype datatype) 1323internal override bool MatchEnumeration(object value, ArrayList enumeration, XmlSchemaDatatype datatype) 1328private static bool MatchEnumeration(DateTime value, ArrayList enumeration, XmlSchemaDatatype datatype) 1347internal override Exception? CheckValueFacets(object value, XmlSchemaDatatype datatype) 1353internal override Exception? CheckValueFacets(string value, XmlSchemaDatatype datatype) 1358internal static Exception? CheckValueFacets(string value, XmlSchemaDatatype datatype, bool verifyUri) 1403internal override bool MatchEnumeration(object value, ArrayList enumeration, XmlSchemaDatatype datatype) 1408private static bool MatchEnumeration(string value, ArrayList enumeration, XmlSchemaDatatype datatype) 1488internal override Exception? CheckValueFacets(object value, XmlSchemaDatatype datatype) 1494internal override Exception? CheckValueFacets(XmlQualifiedName value, XmlSchemaDatatype datatype) 1536internal override bool MatchEnumeration(object value, ArrayList enumeration, XmlSchemaDatatype datatype) 1560internal override Exception? CheckValueFacets(object value, XmlSchemaDatatype datatype) 1566internal override Exception? CheckValueFacets(byte[] value, XmlSchemaDatatype datatype) 1605internal override bool MatchEnumeration(object value, ArrayList enumeration, XmlSchemaDatatype datatype) 1610private static bool MatchEnumeration(byte[] value, ArrayList enumeration, XmlSchemaDatatype datatype) 1625internal override Exception? CheckValueFacets(object value, XmlSchemaDatatype datatype) 1671internal override bool MatchEnumeration(object value, ArrayList enumeration, XmlSchemaDatatype datatype) 1701internal override Exception? CheckValueFacets(object value, XmlSchemaDatatype datatype) 1717internal override bool MatchEnumeration(object value, ArrayList enumeration, XmlSchemaDatatype datatype)
System\Xml\Schema\Preprocessor.cs (1)
541XmlSchemaDatatype tokenDt = DatatypeImplementation.GetSimpleTypeFromTypeCode(XmlTypeCode.Token).Datatype!;
System\Xml\Schema\SchemaAttDef.cs (1)
159this.Datatype = XmlSchemaDatatype.FromXmlTokenizedType(value)!;
System\Xml\Schema\SchemaCollectionCompiler.cs (6)
534XmlSchemaDatatype datatype; 564XmlSchemaDatatype datatype; 606simpleType.SetDatatype(XmlSchemaDatatype.DeriveByUnion(baseTypes, simpleType)); 692XmlSchemaDatatype unionDatatype = unionMember.Datatype!; 756XmlSchemaDatatype? datatype = attribute.Datatype; 843XmlSchemaDatatype? datatype = null;
System\Xml\Schema\SchemaDeclBase.cs (2)
27protected XmlSchemaDatatype datatype = null!; 92internal XmlSchemaDatatype Datatype
System\Xml\Schema\SchemaElementDecl.cs (1)
38internal SchemaElementDecl(XmlSchemaDatatype dtype)
System\Xml\Schema\SchemaNames.cs (1)
452else if (IsXDRRoot(localName, XmlSchemaDatatype.XdrCanonizeUri(ns, _nameTable, this)))
System\Xml\Schema\SchemaSetCompiler.cs (9)
618XmlSchemaDatatype datatype; 650XmlSchemaDatatype datatype; 695simpleType.SetDatatype(XmlSchemaDatatype.DeriveByUnion(baseTypes, simpleType)); 781XmlSchemaDatatype unionDatatype = unionMember.Datatype!; 923XmlSchemaDatatype? datatype = null; 2441XmlSchemaDatatype datatype = decl.Datatype; 3094XmlSchemaDatatype baseDatatype = baseDecl.Datatype; 3095XmlSchemaDatatype derivedDatatype = derivedDecl.Datatype; 3110XmlSchemaDatatype memberType = simpleFixedValue.XmlType.Datatype!;
System\Xml\Schema\XdrBuilder.cs (11)
177internal XmlSchemaDatatype? _Datatype; 183_Datatype = XmlSchemaDatatype.FromXmlTokenizedType(ttype); 190_Datatype = XmlSchemaDatatype.FromXmlTokenizedType(ttype); 424XmlQualifiedName qname = new XmlQualifiedName(name, XmlSchemaDatatype.XdrCanonizeUri(ns, _NameTable, _SchemaNames)); 448XmlQualifiedName qname = new XmlQualifiedName(name, XmlSchemaDatatype.XdrCanonizeUri(ns, _NameTable, _SchemaNames)); 770XmlSchemaDatatype? dtype = XmlSchemaDatatype.FromXdrName(s); 1130builder._AttributeDef._AttDef!.Datatype = XmlSchemaDatatype.FromXmlTokenizedType(XmlTokenizedType.CDATA)!; 1760private XmlSchemaDatatype? CheckDatatype(string str) 1762XmlSchemaDatatype? dtype = XmlSchemaDatatype.FromXdrName(str);
System\Xml\Schema\XdrValidator.cs (5)
93elementName.Init(reader.LocalName, XmlSchemaDatatype.XdrCanonizeUri(reader.NamespaceURI, NameTable, SchemaNames)); 221reader.SchemaTypeObject = XmlSchemaDatatype.FromXdrName(reader.Value); 464XmlSchemaDatatype? dtype = isAttn ? attdef!.Datatype : context!.ElementDecl!.Datatype; 568XmlSchemaDatatype dtype = attdef.Datatype; 696return new XmlQualifiedName(name, XmlSchemaDatatype.XdrCanonizeUri(ns, NameTable, SchemaNames));
System\Xml\Schema\XmlSchemaAttribute.cs (1)
131internal XmlSchemaDatatype? Datatype
System\Xml\Schema\XmlSchemaComplexType.cs (1)
302XmlSchemaDatatype? datatype = attribute.Datatype;
System\Xml\Schema\XmlSchemaDataType.cs (8)
47public virtual bool IsDerivedFrom(XmlSchemaDatatype datatype) 72internal abstract XmlSchemaDatatype DeriveByRestriction(XmlSchemaObjectCollection facets, XmlNameTable nameTable, XmlSchemaType schemaType); 74internal abstract XmlSchemaDatatype DeriveByList(XmlSchemaType? schemaType); 80internal abstract bool IsComparable(XmlSchemaDatatype dtype); 220internal static XmlSchemaDatatype? FromXmlTokenizedType(XmlTokenizedType token) 225internal static XmlSchemaDatatype? FromXmlTokenizedTypeXsd(XmlTokenizedType token) 230internal static XmlSchemaDatatype? FromXdrName(string name) 235internal static XmlSchemaDatatype DeriveByUnion(XmlSchemaSimpleType[] types, XmlSchemaType schemaType)
System\Xml\Schema\XmlSchemaType.cs (5)
20private XmlSchemaDatatype? _datatype; 161public XmlSchemaDatatype? Datatype 249internal void SetDatatype(XmlSchemaDatatype? value) 330internal static bool IsDerivedFromDatatype(XmlSchemaDatatype derivedDataType, XmlSchemaDatatype baseDataType)
System\Xml\Schema\XmlSchemaValidator.cs (16)
137private static readonly XmlSchemaDatatype s_dtQName = XmlSchemaDatatype.FromXmlTokenizedTypeXsd(XmlTokenizedType.QName)!; 138private static readonly XmlSchemaDatatype s_dtCDATA = XmlSchemaDatatype.FromXmlTokenizedType(XmlTokenizedType.CDATA)!; 139private static readonly XmlSchemaDatatype s_dtStringArray = s_dtCDATA.DeriveByList(null); 632XmlSchemaDatatype datatype = attributeDef.Datatype; 1047XmlSchemaDatatype datatype = attdef.Datatype; 1452XmlSchemaDatatype dtype = currentElementDecl.Datatype; 1473XmlSchemaDatatype dtype = currentElementDecl.Datatype!; 1477string stringValue = parsedValue as string ?? XmlSchemaDatatype.ConcatenatedToString(parsedValue); 1933XmlSchemaDatatype dtype = attdef.Datatype; 1962stringValue ??= XmlSchemaDatatype.ConcatenatedToString(value); 1972XmlSchemaDatatype dtype = decl.Datatype; 1992private void CheckTokenizedTypes(XmlSchemaDatatype dtype, object? typedValue, bool attrValue) 2277private void AttributeIdentityConstraints(string name, string? ns, object obj, string sobj, XmlSchemaDatatype datatype) 2321private void EndElementIdentityConstraints(object typedValue, string stringValue, XmlSchemaDatatype datatype)
System\Xml\Schema\XmlValueConverter.cs (1)
234XmlSchemaDatatype? datatype = schemaType.Datatype;
System\Xml\Schema\XsdBuilder.cs (2)
1508XmlSchemaDatatype dt = XmlSchemaDatatype.FromXmlTokenizedTypeXsd(XmlTokenizedType.QName)!.DeriveByList(null);
System\Xml\Schema\XsdValidator.cs (6)
31private static readonly XmlSchemaDatatype s_dtCDATA = XmlSchemaDatatype.FromXmlTokenizedType(XmlTokenizedType.CDATA)!; 32private static readonly XmlSchemaDatatype s_dtQName = XmlSchemaDatatype.FromXmlTokenizedTypeXsd(XmlTokenizedType.QName)!; 33private static readonly XmlSchemaDatatype s_dtStringArray = s_dtCDATA.DeriveByList(null); 695XmlSchemaDatatype? dtype = isAttn ? attdef!.Datatype : context!.ElementDecl!.Datatype;
System\Xml\XPath\XPathNavigator.cs (9)
76XmlSchemaDatatype? datatype; 128XmlSchemaDatatype? datatype = schemaType.Datatype; 142XmlSchemaDatatype? datatype; 180XmlSchemaDatatype? datatype; 214XmlSchemaDatatype? datatype; 248XmlSchemaDatatype? datatype; 282XmlSchemaDatatype? datatype; 316XmlSchemaDatatype? datatype; 349XmlSchemaDatatype? datatype;
System.Xml (1)
System.Xml.cs (1)
44[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.XmlSchemaDatatype))]
System.Xml.ReaderWriter (1)
artifacts\obj\System.Xml.ReaderWriter\Debug\net10.0\System.Xml.ReaderWriter.Forwards.cs (1)
43[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.XmlSchemaDatatype))]