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