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