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