8 writes to SchemaTypeName
System.Private.Xml (8)
System\Xml\Schema\Inference\Infer.cs (4)
388xsa.SchemaTypeName = RefineSimpleType(attrValue, ref AttributeType); 403xsa.SchemaTypeName = RefineSimpleType(attrValue, ref AttributeType); 418xsa.SchemaTypeName = RefineSimpleType(attrValue, ref AttributeType); 441xsa.SchemaTypeName = RefineSimpleType(attrValue, ref AttributeType);
System\Xml\Schema\Preprocessor.cs (2)
431lang.SchemaTypeName = new XmlQualifiedName("language", XmlReservedNs.NsXs); 436xmlbase.SchemaTypeName = new XmlQualifiedName("anyURI", XmlReservedNs.NsXs);
System\Xml\Schema\XsdBuilder.cs (1)
1291builder._attribute!.SchemaTypeName = builder.ParseQName(value, "type");
System\Xml\Serialization\XmlSchemaExporter.cs (1)
787attribute.SchemaTypeName = ExportPrimitiveMapping(pm, accessor.Namespace ?? ns);
31 references to SchemaTypeName
System.Data.Common (7)
System\Data\XMLSchema.cs (7)
1936string _type = isAttr ? attr!.SchemaTypeName.Name : el!.SchemaTypeName.Name; 1937string _typeNs = isAttr ? attr!.SchemaTypeName.Namespace : el!.SchemaTypeName.Namespace; 1950typeNode = (XmlSchemaAnnotated?)_schemaTypes![isAttr ? ((XmlSchemaAttribute)node).SchemaTypeName : ((XmlSchemaElement)node).SchemaTypeName]; 2208strType = attr.SchemaTypeName.Name; 2216if (attr.SchemaTypeName.Namespace != Keywords.XSDNS) // it is UD Simple Type, can it be? 2217type = ParseDataType(attr.SchemaTypeName.ToString()); 2219type = ParseDataType(attr.SchemaTypeName.Name);
System.Private.Xml (24)
System\Xml\Schema\Inference\Infer.cs (2)
400AttributeType = GetSchemaType(xsa.SchemaTypeName); 438AttributeType = GetSchemaType(xsa.SchemaTypeName);
System\Xml\Schema\Preprocessor.cs (4)
1189if (!attribute.SchemaTypeName.IsEmpty || 1231if (!attribute.SchemaTypeName.IsEmpty) 1237if (!attribute.SchemaTypeName.IsEmpty) 1239ValidateQNameAttribute(attribute, "type", attribute.SchemaTypeName);
System\Xml\Schema\SchemaCollectionCompiler.cs (3)
2044else if (!xa.SchemaTypeName.IsEmpty) 2046XmlSchemaSimpleType? simpleType = GetSimpleType(xa.SchemaTypeName); 2055throw new XmlSchemaException(SR.Sch_UndeclaredSimpleType, xa.SchemaTypeName.ToString(), xa);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (4)
863if (!attribute.SchemaTypeName.IsEmpty || 903if (!attribute.SchemaTypeName.IsEmpty) 909if (!attribute.SchemaTypeName.IsEmpty) 911ValidateQNameAttribute(attribute, "type", attribute.SchemaTypeName);
System\Xml\Schema\SchemaSetCompiler.cs (3)
2477else if (!xa.SchemaTypeName.IsEmpty) 2479XmlSchemaSimpleType? simpleType = GetSimpleType(xa.SchemaTypeName); 2488throw new XmlSchemaException(SR.Sch_UndeclaredSimpleType, xa.SchemaTypeName.ToString(), xa);
System\Xml\Schema\XmlSchemaComplexType.cs (2)
432if (!att.RefName.IsEmpty || !att.SchemaTypeName.IsEmpty) 562if (!attribute.RefName.IsEmpty || !attribute.SchemaTypeName.IsEmpty)
System\Xml\Serialization\ImportContext.cs (2)
425else if (!at.SchemaTypeName.IsEmpty) 427XmlSchemaType? type = (XmlSchemaType?)_schemas.Find(at.SchemaTypeName, typeof(XmlSchemaType), false);
System\Xml\Serialization\SchemaObjectWriter.cs (2)
322else if (!o.SchemaTypeName.IsEmpty) 324WriteAttribute("type", "", o.SchemaTypeName);
System\Xml\Serialization\XmlSchemaImporter.cs (2)
1619if (!attribute.SchemaTypeName.IsEmpty) 1620mapping = (TypeMapping?)ImportType(attribute.SchemaTypeName, typeof(TypeMapping), null, TypeFlags.CanBeAttributeValue, false);