31 writes to SchemaTypeName
System.Runtime.Serialization (2)
System\Runtime\Serialization\SchemaExporter.cs (2)
145
element.
SchemaTypeName
= AnytypeQualifiedName;
199
element.
SchemaTypeName
= dataContract.StableName;
System.ServiceModel (2)
System\ServiceModel\Description\MessageContractExporter.cs (2)
363
element.
SchemaTypeName
= typeName;
384
element.
SchemaTypeName
= typeName;
System.ServiceModel.Discovery (4)
System\ServiceModel\Discovery\SchemaUtility.cs (4)
278
metadataVersionElement.
SchemaTypeName
= discoveryVersion.Implementation.QualifiedNames.UnsignedIntType;
470
scopesElement.
SchemaTypeName
= discoveryVersion.Implementation.QualifiedNames.ScopesType;
516
typesElement.
SchemaTypeName
= discoveryVersion.Implementation.QualifiedNames.QNameListType;
542
xAddrsElement.
SchemaTypeName
= discoveryVersion.Implementation.QualifiedNames.UriListType;
System.Web.Services (2)
System\Web\Services\Description\HttpProtocolReflector.cs (1)
83
element.
SchemaTypeName
= new XmlQualifiedName("string", XmlSchema.Namespace);
System\Web\Services\Description\ServiceDescriptionSerializer.cs (1)
8764
o.
@SchemaTypeName
= ToXmlQualifiedName(Reader.Value);
System.Xml (21)
System\Xml\Schema\Inference\Infer.cs (11)
696
xse.
SchemaTypeName
= ST_string;
749
xse.
SchemaTypeName
= ST_string;
776
xse.
SchemaTypeName
= ST_string;
863
xse.
SchemaTypeName
= ST_string;
872
xse.
SchemaTypeName
= RefineSimpleType(xtr.Value, ref TypeFlags);
877
xse.
SchemaTypeName
= ST_string;
894
xse.
SchemaTypeName
= RefineSimpleType(xtr.Value, ref TypeFlags); //simple type
899
xse.
SchemaTypeName
= ST_string;
924
xse.
SchemaTypeName
= XmlQualifiedName.Empty;
1264
xse.
SchemaTypeName
= XmlQualifiedName.Empty; //re-set the name
2385
newElement.
SchemaTypeName
= copyElement.SchemaTypeName;
System\Xml\Schema\XmlSchemaValidator.cs (1)
1780
xsiElement.
SchemaTypeName
= XmlQualifiedName.Empty; //Reset typeName on element as this might be different
System\Xml\Schema\XsdBuilder.cs (1)
1319
builder.element.
SchemaTypeName
= builder.ParseQName(value, "type");
System\Xml\Serialization\SoapSchemaExporter.cs (1)
263
element.
SchemaTypeName
= ExportTypeMapping(accessor.Mapping, accessor.Namespace);
System\Xml\Serialization\SoapSchemaImporter.cs (1)
131
element.
SchemaTypeName
= member.MemberType;
System\Xml\Serialization\XmlSchemaExporter.cs (4)
365
element.
SchemaTypeName
= ExportPrimitiveMapping(pm, ns);
453
element.
SchemaTypeName
= serializableMapping.XsiType;
585
element.
SchemaTypeName
= new XmlQualifiedName(type.Name, mapping.Namespace);
917
if (element != null) element.
SchemaTypeName
= qname;
System\Xml\Serialization\XmlSchemaImporter.cs (2)
190
element.
SchemaTypeName
= typeName;
260
element.
SchemaTypeName
= member.MemberType;
83 references to SchemaTypeName
System.Data (8)
fx\src\data\System\Data\XMLSchema.cs (8)
1363
table.TypeName = node.
SchemaTypeName
;
1673
String _type = isAttr ? attr.SchemaTypeName.Name : el.
SchemaTypeName
.Name;
1674
String _typeNs = isAttr ? attr.SchemaTypeName.Namespace : el.
SchemaTypeName
.Namespace;
1686
typeNode = (XmlSchemaAnnotated)schemaTypes[isAttr ? ((XmlSchemaAttribute)node).SchemaTypeName : ((XmlSchemaElement)node).
SchemaTypeName
];
1940
strType = ((XmlSchemaElement)typeNode).
SchemaTypeName
.Name;
2052
strType = el.
SchemaTypeName
.Name;
2058
type = ParseDataType(el.
SchemaTypeName
.Name);
2093
strType = ((XmlSchemaElement)typeNode).
SchemaTypeName
.Name;
System.Runtime.Serialization (10)
System\Runtime\Serialization\SchemaExporter.cs (1)
201
if (element.
SchemaTypeName
.Namespace.Equals(Globals.SerializationNamespace))
System\Runtime\Serialization\SchemaHelper.cs (1)
221
if (schemaElement.
SchemaTypeName
.Equals(typeQName))
System\Runtime\Serialization\SchemaImporter.cs (8)
112
XmlQualifiedName typeName = element.
SchemaTypeName
;
952
XmlQualifiedName elementTypeName = topLevelElement.
SchemaTypeName
;
961
ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.TopLevelElementRepresentsDifferentType, topLevelElement.
SchemaTypeName
.Name, topLevelElement.
SchemaTypeName
.Namespace));
987
if (element.
SchemaTypeName
.IsEmpty)
998
XmlQualifiedName memberTypeName = ImportActualType(element.Annotation, element.
SchemaTypeName
, typeName);
1085
if (element.
SchemaTypeName
.IsEmpty)
1108
dataContract.ItemContract = ImportType(element.
SchemaTypeName
);
System.ServiceModel (18)
System\ServiceModel\Description\MessageContractExporter.cs (1)
385
SchemaHelper.AddImportToSchema(element.
SchemaTypeName
.Namespace, schema);
System\ServiceModel\Description\MessageContractImporter.cs (8)
670
return CheckPart(((XmlSchemaElement)rootSequence.Items[0]).
SchemaTypeName
, DataContractSerializerMessageContractImporter.StreamBodyTypeName);
700
if (element.
SchemaTypeName
.IsEmpty && element.RefName != null)
706
return CheckAndAddPart(element.
SchemaTypeName
, DataContractSerializerMessageContractImporter.StreamBodyTypeName, element.Name, GetLocalElementNamespace(ns, element, elementFormDefault), typeof(Stream), description, isReply);
934
if (element.
SchemaTypeName
!= null && !element.
SchemaTypeName
.IsEmpty)
936
XmlSchemaType type = FindSchemaType(allSchemas, element.
SchemaTypeName
);
1222
else if (IsNullOrEmpty(element.
SchemaTypeName
))
1225
return element.
SchemaTypeName
;
System\ServiceModel\Description\SchemaHelper.cs (9)
26
if (element.SchemaType == existingElement.SchemaType && element.
SchemaTypeName
== existingElement.
SchemaTypeName
)
32
if (!element.
SchemaTypeName
.IsEmpty)
33
AddImportToSchema(element.
SchemaTypeName
.Namespace, schema);
96
if (!element.
SchemaTypeName
.IsEmpty)
97
return element.
SchemaTypeName
.ToString();
110
if (e1.
SchemaTypeName
!= e2.
SchemaTypeName
)
179
XmlQualifiedName typeName = element.
SchemaTypeName
;
System.Web.Services (4)
System\Web\Services\Description\ServiceDescriptionImporter.cs (3)
449
if (element.
SchemaTypeName
!= null && !element.
SchemaTypeName
.IsEmpty) {
450
XmlSchemaType type = (XmlSchemaType)allSchemas.Find(element.
SchemaTypeName
, typeof(XmlSchemaType));
System\Web\Services\Description\ServiceDescriptionSerializer.cs (1)
2254
WriteAttribute(@"type", @"", FromXmlQualifiedName(((global::System.Xml.XmlQualifiedName)o.
@SchemaTypeName
)));
System.Xml (43)
System\Xml\Schema\Inference\Infer.cs (11)
693
else if (!xse.
SchemaTypeName
.IsEmpty)
773
else if (!xse.
SchemaTypeName
.IsEmpty)
888
TypeFlags = GetSchemaType(xse.
SchemaTypeName
);
921
if (!xse.
SchemaTypeName
.IsEmpty) //
1020
else if (elem.
SchemaTypeName
!= XmlQualifiedName.Empty) {
1021
effectiveSchemaType = schemaSet.GlobalTypes[elem.
SchemaTypeName
] as XmlSchemaType;
1023
effectiveSchemaType = XmlSchemaType.GetBuiltInSimpleType(elem.
SchemaTypeName
);
1026
effectiveSchemaType = XmlSchemaType.GetBuiltInComplexType(elem.
SchemaTypeName
);
1253
if (effectiveSchemaType != null && effectiveSchemaType.Datatype != null && !xse.
SchemaTypeName
.IsEmpty)
1261
sce.BaseTypeName = xse.
SchemaTypeName
;
2385
newElement.SchemaTypeName = copyElement.
SchemaTypeName
;
System\Xml\Schema\Preprocessor.cs (4)
1121
if (!element.
SchemaTypeName
.IsEmpty ||
1177
if (!element.
SchemaTypeName
.IsEmpty) {
1187
if (!element.
SchemaTypeName
.IsEmpty) {
1188
ValidateQNameAttribute(element, "type", element.
SchemaTypeName
);
System\Xml\Schema\SchemaCollectionCompiler.cs (4)
204
if (element.ElementSchemaType is XmlSchemaComplexType && element.
SchemaTypeName
== XmlQualifiedName.Empty) { // only local schemaTypes
1819
else if (!xe.
SchemaTypeName
.IsEmpty) {
1820
xe.SetElementType(GetAnySchemaType(xe.
SchemaTypeName
));
1822
throw new XmlSchemaException(Res.Sch_UndeclaredType, xe.
SchemaTypeName
.ToString(), xe);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (4)
811
if (!element.
SchemaTypeName
.IsEmpty ||
867
if (!element.
SchemaTypeName
.IsEmpty) {
877
if (!element.
SchemaTypeName
.IsEmpty) {
878
ValidateQNameAttribute(element, "type", element.
SchemaTypeName
);
System\Xml\Schema\SchemaSetCompiler.cs (5)
204
if (localComplexType != null && element.
SchemaTypeName
== XmlQualifiedName.Empty) { // only local schemaTypes
912
if (localComplexType != null && localElement.
SchemaTypeName
== XmlQualifiedName.Empty && localElement.RefName == XmlQualifiedName.Empty) { //Only local elements
2165
else if (!xe.
SchemaTypeName
.IsEmpty) {
2166
xe.SetElementType(GetAnySchemaType(xe.
SchemaTypeName
));
2168
throw new XmlSchemaException(Res.Sch_UndeclaredType, xe.
SchemaTypeName
.ToString(), xe);
System\Xml\Schema\XmlSchemaComplexType.cs (2)
491
if (oldElem != null && (!oldElem.RefName.IsEmpty || !oldElem.
SchemaTypeName
.IsEmpty ||
531
if (elem != null && (!elem.RefName.IsEmpty || !elem.
SchemaTypeName
.IsEmpty ||
System\Xml\Serialization\ImportContext.cs (2)
390
else if (!el.
SchemaTypeName
.IsEmpty) {
391
XmlSchemaType type = (XmlSchemaType)schemas.Find(el.
SchemaTypeName
, typeof(XmlSchemaType), false);
System\Xml\Serialization\Mappings.cs (2)
1110
if (e1.
SchemaTypeName
!= e2.
SchemaTypeName
)
System\Xml\Serialization\SchemaObjectWriter.cs (2)
841
else if (!o.
SchemaTypeName
.IsEmpty) {
842
WriteAttribute("type", "", o.
SchemaTypeName
);
System\Xml\Serialization\SoapSchemaImporter.cs (2)
183
if (!element.
SchemaTypeName
.IsEmpty)
184
mapping = ImportType(element.
SchemaTypeName
, false);
System\Xml\Serialization\XmlSchemaExporter.cs (1)
454
if (element.
SchemaTypeName
.IsEmpty)
System\Xml\Serialization\XmlSchemaImporter.cs (4)
339
if (!element.
SchemaTypeName
.IsEmpty) {
340
mapping = ImportType(element.
SchemaTypeName
, desiredMappingType, baseType, TypeFlags.CanBeElementValue, false);
342
object type = FindType(element.
SchemaTypeName
, TypeFlags.CanBeElementValue);
372
RunSchemaExtensions(mapping, element.
SchemaTypeName
, element.SchemaType, element, TypeFlags.CanBeElementValue);