8 writes to BaseTypeName
dotnet-svcutil-lib (8)
FrameworkFork\Microsoft.Xml\Xml\schema\DatatypeImplementation.cs (1)
202restContent.BaseTypeName = baseType.QualifiedName;
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (1)
461r.BaseTypeName = new XmlQualifiedName("NCName", XmlReservedNs.NsXs);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSimpleTypeRestriction.cs (1)
70newRestriction.BaseTypeName = _baseTypeName.Clone();
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (1)
1571builder._simpleTypeRestriction.BaseTypeName = builder.ParseQName(value, "base");
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (1)
418restriction.BaseTypeName = new XmlQualifiedName("string", XmlSchema.Namespace);
FrameworkFork\Microsoft.Xml\Xml\Serialization\Types.cs (1)
669restriction.BaseTypeName = baseTypeName;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (1)
1199restriction.BaseTypeName = new XmlQualifiedName("string", XmlSchema.Namespace);
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (1)
9477o.@BaseTypeName = ToXmlQualifiedName(Reader.Value);
37 references to BaseTypeName
dotnet-svcutil-lib (37)
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (4)
1135if (restriction.BaseTypeName == stype.QualifiedName) 1590if (!restriction.BaseTypeName.IsEmpty) 1598if (restriction.BaseTypeName.IsEmpty) 1604ValidateQNameAttribute(restriction, "base", restriction.BaseTypeName);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (6)
557if (restriction.BaseTypeName.IsEmpty) 563else if (simpleType.Redefined != null && restriction.BaseTypeName == simpleType.Redefined.QualifiedName) 571if (restriction.BaseTypeName.Equals(DatatypeImplementation.QnAnySimpleType)) 573throw new XmlSchemaException(ResXml.Sch_InvalidSimpleTypeRestriction, restriction.BaseTypeName.ToString(), simpleType); 575XmlSchemaSimpleType type = GetSimpleType(restriction.BaseTypeName); 587throw new XmlSchemaException(ResXml.Sch_UndeclaredSimpleType, restriction.BaseTypeName.ToString(), simpleType);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (4)
784if (restriction.BaseTypeName == stype.QualifiedName) 1235if (!restriction.BaseTypeName.IsEmpty) 1243if (restriction.BaseTypeName.IsEmpty) 1249ValidateQNameAttribute(restriction, "base", restriction.BaseTypeName);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (6)
638if (restriction.BaseTypeName.IsEmpty) 644else if (simpleType.Redefined != null && restriction.BaseTypeName == simpleType.Redefined.QualifiedName) 652if (restriction.BaseTypeName.Equals(DatatypeImplementation.QnAnySimpleType)) 657throw new XmlSchemaException(ResXml.Sch_InvalidSimpleTypeRestriction, restriction.BaseTypeName.ToString(), simpleType); 660XmlSchemaSimpleType type = GetSimpleType(restriction.BaseTypeName); 672throw new XmlSchemaException(ResXml.Sch_UndeclaredSimpleType, restriction.BaseTypeName.ToString(), restriction);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSimpleType.cs (1)
53return ((XmlSchemaSimpleTypeRestriction)_content).BaseTypeName;
FrameworkFork\Microsoft.Xml\Xml\Serialization\ImportContext.cs (2)
399baseName = ((XmlSchemaSimpleTypeRestriction)content).BaseTypeName; 413baseName = ((XmlSchemaSimpleTypeRestriction)content).BaseTypeName;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaObjectWriter.cs (2)
640if (!o.@BaseTypeName.IsEmpty) 642WriteAttribute(@"base", @"", o.@BaseTypeName);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (6)
1790AddReference(restriction.BaseTypeName, TypesInUse, ResXml.XmlCircularTypeReference); 1791mapping = ImportDataType(FindDataType(restriction.BaseTypeName, flags), restriction.BaseTypeName.Namespace, identifier, null, flags, false); 1792if (restriction.BaseTypeName.Namespace != XmlSchema.Namespace) 1793RemoveReference(restriction.BaseTypeName, TypesInUse); 1978return ((XmlSchemaSimpleTypeRestriction)content).BaseTypeName;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (5)
554if (restriction.BaseTypeName != XmlQualifiedName.Empty) 556return ((restriction.BaseTypeName == expectedBase && restriction.Facets.Count > 0) || ImportType(restriction.BaseTypeName) is EnumDataContract); 1228if (!restriction.BaseTypeName.IsEmpty) 1229dataContract = ImportType(restriction.BaseTypeName);
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (1)
3248WriteAttribute(@"base", @"", FromXmlQualifiedName(((Microsoft.Xml.XmlQualifiedName)o.@BaseTypeName)));