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