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