16 writes to Datatype
dotnet-svcutil-lib (16)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaAttDef.cs (1)
164
this.
Datatype
= XmlSchemaDatatype.FromXmlTokenizedType(value);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (5)
615
decl.
Datatype
= simpleType.Datatype;
765
decl.
Datatype
= complexType.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 (2)
41
Datatype
= dtype;
56
anyTypeElementDecl.
Datatype
= DatatypeImplementation.AnySimpleType.Datatype;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (5)
700
decl.
Datatype
= simpleType.Datatype;
837
decl.
Datatype
= complexType.Datatype;
2530
decl.
Datatype
= xa.SchemaType.Datatype;
2538
decl.
Datatype
= simpleType.Datatype;
2549
decl.
Datatype
= DatatypeImplementation.AnySimpleType.Datatype;
FrameworkFork\Microsoft.Xml\Xml\schema\XdrBuilder.cs (3)
784
builder._ElementDef._ElementDecl.
Datatype
= dtype;
1085
builder._AttributeDef._AttDef.
Datatype
= builder.CheckDatatype(qname.Name);
1140
builder._AttributeDef._AttDef.
Datatype
= XmlSchemaDatatype.FromXmlTokenizedType(XmlTokenizedType.CDATA);
72 references to Datatype
dotnet-svcutil-lib (72)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (1)
9396
attr.schemaType = (attrDef.SchemaType == null) ? (object)attrDef.
Datatype
: (object)attrDef.SchemaType;
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentSchemaValidator.cs (1)
470
if (attributeDef.
Datatype
.Variety == XmlSchemaDatatypeVariety.Union)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlLoader.cs (1)
673
if (attdef.
Datatype
.TokenizedType == XmlTokenizedType.ID)
FrameworkFork\Microsoft.Xml\Xml\schema\DtdParser.cs (5)
697
if (attrDef.
Datatype
.TokenizedType != XmlTokenizedType.ENUMERATION)
776
attrDef.SchemaType = XmlSchemaType.GetBuiltInSimpleType(attrDef.
Datatype
.TypeCode);
786
if ((idAttrDef == null || idAttrDef.
Datatype
.TokenizedType != XmlTokenizedType.ID) && !ignoreErrors)
856
attrDef.SchemaType = XmlSchemaType.GetBuiltInSimpleType(attrDef.
Datatype
.TypeCode);
916
if (_validate && attrDef.
Datatype
.TokenizedType == XmlTokenizedType.ID && !ignoreErrors)
FrameworkFork\Microsoft.Xml\Xml\schema\dtdvalidator.cs (6)
191
if (attnDef.
Datatype
!= null && !reader.IsDefault)
227
if (context.ElementDecl.
Datatype
!= null)
343
XmlSchemaDatatype dtype = isAttn ? attdef.
Datatype
: context.ElementDecl.
Datatype
;
535
XmlSchemaDatatype dtype = attdef.
Datatype
;
575
XmlSchemaDatatype dtype = attdef.
Datatype
;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaAttDef.cs (1)
160
return
Datatype
.TokenizedType;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (11)
2078
if (decl.
Datatype
!= null)
2097
decl.DefaultValueTyped = decl.
Datatype
.ParseValue(decl.DefaultValueRaw, NameTable, new SchemaNamespaceManager(xa), true);
2106
decl.DefaultValueTyped = decl.
Datatype
.ParseValue(decl.DefaultValueRaw, NameTable, new SchemaNamespaceManager(xa), true);
2143
if (decl.
Datatype
!= null)
2145
decl.
Datatype
.VerifySchemaValid(_schema.Notations, xa);
2159
if (decl.
Datatype
!= null)
2161
decl.DefaultValueTyped = decl.
Datatype
.ParseValue(decl.DefaultValueRaw, NameTable, new SchemaNamespaceManager(xa), true);
2364
if (decl.
Datatype
!= null)
2366
decl.
Datatype
.VerifySchemaValid(_schema.Notations, xe);
2385
if (decl.
Datatype
!= null)
2387
decl.DefaultValueTyped = decl.
Datatype
.ParseValue(decl.DefaultValueRaw, NameTable, new SchemaNamespaceManager(xe), true);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaInfo.cs (1)
247
if (attdef.
Datatype
.TypeCode == XmlTypeCode.Id)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (13)
2496
XmlSchemaDatatype datatype = decl.
Datatype
;
2553
if (decl.
Datatype
!= null)
2555
decl.
Datatype
.VerifySchemaValid(_notations, xa);
2599
if (decl.
Datatype
!= null)
2601
if (decl.
Datatype
.TypeCode == XmlTypeCode.Id)
2607
decl.DefaultValueTyped = decl.
Datatype
.ParseValue(decl.DefaultValueRaw, NameTable, new SchemaNamespaceManager(xa), true);
2796
if (decl.
Datatype
!= null)
2798
decl.
Datatype
.VerifySchemaValid(_notations, xe);
2817
if (decl.
Datatype
!= null)
2819
if (decl.
Datatype
.TypeCode == XmlTypeCode.Id)
2825
decl.DefaultValueTyped = decl.
Datatype
.ParseValue(decl.DefaultValueRaw, NameTable, new SchemaNamespaceManager(xe), true);
3250
XmlSchemaDatatype baseDatatype = baseDecl.
Datatype
;
3251
XmlSchemaDatatype derivedDatatype = derivedDecl.
Datatype
;
FrameworkFork\Microsoft.Xml\Xml\schema\XdrBuilder.cs (6)
981
if (ed.
Datatype
!= null)
983
XmlTokenizedType ttype = ed.
Datatype
.TokenizedType;
1115
if (builder._AttributeDef._HasDataType && builder._AttributeDef._AttDef.
Datatype
!= null)
1117
XmlTokenizedType ttype = builder._AttributeDef._AttDef.
Datatype
.TokenizedType;
1474
if (builder._AttributeDef._AttDef.
Datatype
!= null)
1476
XmlTokenizedType ttype = builder._AttributeDef._AttDef.
Datatype
.TokenizedType;
FrameworkFork\Microsoft.Xml\Xml\schema\xdrvalidator.cs (7)
246
reader.SchemaTypeObject = context.ElementDecl.
Datatype
;
278
reader.SchemaTypeObject = (attnDef.SchemaType != null) ? (object)attnDef.SchemaType : (object)attnDef.
Datatype
;
279
if (attnDef.
Datatype
!= null)
319
if (context.ElementDecl.
Datatype
!= null)
464
XmlSchemaDatatype dtype = isAttn ? attdef.
Datatype
: context.ElementDecl.
Datatype
;
567
XmlSchemaDatatype dtype = attdef.
Datatype
;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (11)
673
XmlSchemaDatatype datatype = attributeDef.
Datatype
;
1078
XmlSchemaDatatype datatype = attdef.
Datatype
;
1091
if (attdef.
Datatype
.Variety == XmlSchemaDatatypeVariety.Union)
1454
Debug.Assert(currentElementDecl.
Datatype
!= null);
1455
Exception exception = currentElementDecl.
Datatype
.TryParseValue(currentElementDecl.DefaultValueRaw, _nameTable, _nsResolver, out typedVal);
1476
XmlSchemaDatatype dtype = currentElementDecl.
Datatype
;
1496
XmlSchemaDatatype dtype = currentElementDecl.
Datatype
;
1531
typeName = decl.
Datatype
.TypeCodeString;
1958
XmlSchemaDatatype dtype = attdef.
Datatype
;
1995
XmlSchemaDatatype dtype = decl.
Datatype
;
2287
if (currentElementDecl.
Datatype
== null || currentElementDecl.ContentValidator.ContentType == XmlSchemaContentType.Mixed)
FrameworkFork\Microsoft.Xml\Xml\schema\xsdvalidator.cs (8)
504
if (attnDef.
Datatype
!= null)
569
if (context.ElementDecl.
Datatype
!= null)
711
XmlSchemaDatatype dtype = isAttn ? attdef.
Datatype
: context.ElementDecl.
Datatype
;
962
if (context.ElementDecl.
Datatype
== null)
1014
else if ((attdef != null) && (attdef.
Datatype
!= null))
1016
laxis.Ks[laxis.Column] = new TypedObject(obj, sobj, attdef.
Datatype
);
1073
laxis.Ks[laxis.Column] = new TypedObject(reader.TypedValueObject, stringValue, context.ElementDecl.
Datatype
);