113 references to Datatype
dotnet-svcutil-lib (113)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlValidatingReaderImpl.cs (2)
851
return schemaTypeObj.
Datatype
;
961
XmlSchemaDatatype dtype = (SchemaType is XmlSchemaDatatype) ? (XmlSchemaDatatype)SchemaType : ((XmlSchemaType)SchemaType).
Datatype
;
FrameworkFork\Microsoft.Xml\Xml\Core\XsdValidatingReader.cs (8)
418
return _xmlSchemaInfo.SchemaType.
Datatype
.ValueType;
425
return AttributeSchemaInfo.SchemaType.
Datatype
.ValueType;
726
if (returnType == typeof(DateTimeOffset) && xmlType.
Datatype
is Datatype_dateTimeBase)
1059
if (returnType == typeof(DateTimeOffset) && xmlType.
Datatype
is Datatype_dateTimeBase)
2572
Debug.Assert(xmlType != null && xmlType.
Datatype
!= null);
2573
if (xmlType.
Datatype
.Variety == XmlSchemaDatatypeVariety.List)
2575
Datatype_List listType = xmlType.
Datatype
as Datatype_List;
2578
typedValue = xmlType.ValueConverter.ChangeType(typedValue, xmlType.
Datatype
.ValueType, _thisNSResolver);
FrameworkFork\Microsoft.Xml\Xml\Core\XsdValidatingReaderAsync.cs (2)
98
if (returnType == typeof(DateTimeOffset) && xmlType.
Datatype
is Datatype_dateTimeBase)
194
if (returnType == typeof(DateTimeOffset) && xmlType.
Datatype
is Datatype_dateTimeBase)
FrameworkFork\Microsoft.Xml\Xml\schema\DatatypeImplementation.cs (11)
199
if (derivedType.
Datatype
.Variety == XmlSchemaDatatypeVariety.Atomic)
207
if (derivedType.
Datatype
.Variety == XmlSchemaDatatypeVariety.List)
211
switch (derivedType.
Datatype
.TypeCode)
443
return (datatype == s_anySimpleType.
Datatype
);
967
listItemType = DatatypeImplementation.GetSimpleTypeFromTypeCode(schemaType.
Datatype
.TypeCode);
1002
if (xmlType1 != atomicValues2[i].XmlType || !xmlType1.
Datatype
.IsEqual(atomicValues1[i].TypedValue, atomicValues2[i].TypedValue))
1212
XmlSchemaDatatype datatype = schemaType1.
Datatype
;
1247
if (_types[i].
Datatype
.Variety == XmlSchemaDatatypeVariety.List)
1259
if (derivedType.IsDerivedFrom(_types[i].
Datatype
))
1280
exception = _types[i].
Datatype
.TryParseValue(s, nameTable, nsmgr, out typedValue);
1321
if (_types[i].
Datatype
.TryParseValue(value, nameTable, nsmgr, out valueToCheck) == null)
FrameworkFork\Microsoft.Xml\Xml\schema\FacetChecker.cs (3)
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
;
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (1)
1262
if (effectiveSchemaType != null && effectiveSchemaType.
Datatype
!= null && !xse.SchemaTypeName.IsEmpty)
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (1)
566
XmlSchemaDatatype tokenDt = DatatypeImplementation.GetSimpleTypeFromTypeCode(XmlTypeCode.Token).
Datatype
;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (24)
531
datatype = list.ItemType.
Datatype
;
543
datatype = type.
Datatype
;
561
datatype = restriction.BaseType.
Datatype
;
567
datatype = simpleType.Redefined.
Datatype
;
583
datatype = type.
Datatype
;
608
simpleType.SetDatatype(DatatypeImplementation.AnySimpleType.
Datatype
);
615
decl.Datatype = simpleType.
Datatype
;
636
if (unionMember.
Datatype
.Variety == XmlSchemaDatatypeVariety.Union)
665
if (st.
Datatype
.Variety == XmlSchemaDatatypeVariety.Union)
682
XmlSchemaDatatype unionDatatype = unionMember.
Datatype
;
689
Datatype_union uniondt = unionMember.
Datatype
as Datatype_union;
765
decl.Datatype = complexType.
Datatype
;
800
complexType.SetDatatype(baseType.
Datatype
);
812
complexType.SetDatatype(bto.
Datatype
);
839
datatype = baseType.
Datatype
;
853
datatype = baseType.
Datatype
;
860
if (!XmlSchemaType.IsDerivedFromDatatype(simpleRestriction.BaseType.
Datatype
, baseType.
Datatype
, XmlSchemaDerivationMethod.None))
864
datatype = simpleRestriction.BaseType.
Datatype
;
873
datatype = simpleRestriction.BaseType.
Datatype
;
909
complexType.SetDatatype(DatatypeImplementation.AnySimpleType.
Datatype
);
2120
decl.Datatype = xa.SchemaType.
Datatype
;
2128
decl.Datatype = simpleType.
Datatype
;
2139
decl.Datatype = DatatypeImplementation.AnySimpleType.
Datatype
;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaElementDecl.cs (1)
56
anyTypeElementDecl.Datatype = DatatypeImplementation.AnySimpleType.
Datatype
;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (27)
612
datatype = list.ItemType.
Datatype
;
624
datatype = type.
Datatype
;
642
datatype = restriction.BaseType.
Datatype
;
648
datatype = simpleType.Redefined.
Datatype
;
668
datatype = type.
Datatype
;
693
simpleType.SetDatatype(DatatypeImplementation.AnySimpleType.
Datatype
);
700
decl.Datatype = simpleType.
Datatype
;
721
if (unionMember.
Datatype
.Variety == XmlSchemaDatatypeVariety.Union)
750
if (st.
Datatype
.Variety == XmlSchemaDatatypeVariety.Union)
767
XmlSchemaDatatype unionDatatype = unionMember.
Datatype
;
774
Datatype_union uniondt = unionMember.
Datatype
as Datatype_union;
837
decl.Datatype = complexType.
Datatype
;
878
complexType.SetDatatype(baseType.
Datatype
);
890
complexType.SetDatatype(bto.
Datatype
);
917
datatype = baseType.
Datatype
;
931
datatype = baseType.
Datatype
;
938
if (!XmlSchemaType.IsDerivedFromDatatype(simpleRestriction.BaseType.
Datatype
, baseType.
Datatype
, XmlSchemaDerivationMethod.None))
942
datatype = simpleRestriction.BaseType.
Datatype
;
951
datatype = simpleRestriction.BaseType.
Datatype
;
987
complexType.SetDatatype(DatatypeImplementation.AnySimpleType.
Datatype
);
1046
complexType.SetDatatype(baseType.
Datatype
);
2530
decl.Datatype = xa.SchemaType.
Datatype
;
2538
decl.Datatype = simpleType.
Datatype
;
2549
decl.Datatype = DatatypeImplementation.AnySimpleType.
Datatype
;
2830
decl.DefaultValueTyped = DatatypeImplementation.AnySimpleType.
Datatype
.ParseValue(decl.DefaultValueRaw, NameTable, new SchemaNamespaceManager(xe));
3266
XmlSchemaDatatype memberType = simpleFixedValue.XmlType.
Datatype
;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlAtomicValue.cs (1)
203
get { return _xmlType.
Datatype
.ValueType; }
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaAttribute.cs (2)
152
return _attributeType.
Datatype
;
188
return _attributeType.
Datatype
;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaDocumentation.cs (1)
45
set { _language = (string)s_languageType.
Datatype
.ParseValue(value, (XmlNameTable)null, (IXmlNamespaceResolver)null); }
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaElement.cs (1)
242
return _elementType.
Datatype
; //returns XmlSchemaDatatype;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaInfo.cs (2)
172
if (_schemaType == null || _schemaType.
Datatype
== null)
176
return _schemaType.
Datatype
.Variety == XmlSchemaDatatypeVariety.Union;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaType.cs (4)
148
return _baseSchemaType.
Datatype
;
320
if ((except & derivedType.DerivedBy) != 0 || !dt.
Datatype
.IsDerivedFrom(bt.
Datatype
))
346
if (DatatypeImplementation.AnySimpleType.
Datatype
== baseDataType)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (5)
680
datatype = simpleValue.XmlType.
Datatype
;
1095
datatype = simpleValue.XmlType.
Datatype
;
1269
EndElementIdentityConstraints(typedValue, stringValue, xmlType.
Datatype
);
1481
dtype = memberType.
Datatype
;
1518
dtype = memberType.
Datatype
;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlValueConverter.cs (6)
286
XmlSchemaDatatype datatype = schemaType.
Datatype
;
297
Debug.Assert(schemaType.
Datatype
.Variety != XmlSchemaDatatypeVariety.List, "schemaType must be list's item type, not list itself");
301
_clrTypeDefault = schemaType.
Datatype
.ValueType;
3687
if (memberTypes[i].
Datatype
.Variety == XmlSchemaDatatypeVariety.List)
3689
else if (memberTypes[i].
Datatype
.Variety == XmlSchemaDatatypeVariety.Atomic)
3724
XsdSimpleValue simpleValue = (XsdSimpleValue)SchemaType.
Datatype
.ParseValue((string)value, new NameTable(), nsResolver, true);
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigator.cs (11)
97
datatype = schemaType.
Datatype
;
109
datatype = schemaType.
Datatype
;
143
XmlSchemaDatatype datatype = schemaType.
Datatype
;
175
datatype = schemaType.
Datatype
;
187
datatype = schemaType.
Datatype
;
225
datatype = schemaType.
Datatype
;
263
datatype = schemaType.
Datatype
;
301
datatype = schemaType.
Datatype
;
339
datatype = schemaType.
Datatype
;
377
datatype = schemaType.
Datatype
;
417
datatype = schemaType.
Datatype
;