FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (23)
774AddToTable(schema.SchemaTypes, complexType.QualifiedName, complexType);
780AddToTable(schema.SchemaTypes, simpleType.QualifiedName, simpleType);
841AddToTable(schema.SchemaTypes, type.QualifiedName, type);
931complexType.QualifiedName.SetNamespace(targetNS); //Since PreprocessComplexType will use this.targetNamespace and that will be that of the root schema's
932if (redefine.SchemaTypes[complexType.QualifiedName] != null)
938AddToTable(redefine.SchemaTypes, complexType.QualifiedName, complexType);
939XmlSchemaType originalType = (XmlSchemaType)schemaToUpdate.SchemaTypes[complexType.QualifiedName];
943SendValidationEvent(ResXml.Sch_ComponentRedefineNotFound, "<complexType>", complexType.QualifiedName.ToString(), complexType);
948schemaToUpdate.SchemaTypes.Insert(complexType.QualifiedName, complexType);
961simpleType.QualifiedName.SetNamespace(targetNS); //Since PreprocessSimpleType will use this.targetNamespace and that will be that of the root schema's
962if (redefine.SchemaTypes[simpleType.QualifiedName] != null)
968AddToTable(redefine.SchemaTypes, simpleType.QualifiedName, simpleType);
969XmlSchemaType originalType = (XmlSchemaType)schemaToUpdate.SchemaTypes[simpleType.QualifiedName];
973SendValidationEvent(ResXml.Sch_ComponentRedefineNotFound, "<simpleType>", simpleType.QualifiedName.ToString(), simpleType);
978schemaToUpdate.SchemaTypes.Insert(simpleType.QualifiedName, simpleType);
1135if (restriction.BaseTypeName == stype.QualifiedName)
1172if (baseName == ctype.QualifiedName)
1744if (complexType.QualifiedName == XmlQualifiedName.Empty)
1750SendValidationEvent(ResXml.Sch_NoRestOrExtQName, complexType.QualifiedName.Name, complexType.QualifiedName.Namespace, complexType);
1799if (complexType.QualifiedName == XmlQualifiedName.Empty)
1805SendValidationEvent(ResXml.Sch_NoRestOrExtQName, complexType.QualifiedName.Name, complexType.QualifiedName.Namespace, complexType);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (17)
525AddToTable(schema.SchemaTypes, type.QualifiedName, type);
555AddToTable(schema.SchemaTypes, complexType.QualifiedName, complexType);
561AddToTable(schema.SchemaTypes, simpleType.QualifiedName, simpleType);
648if (redefine.SchemaTypes[complexType.QualifiedName] != null)
654AddToTable(redefine.SchemaTypes, complexType.QualifiedName, complexType);
655XmlSchemaType type = (XmlSchemaType)redefine.Schema.SchemaTypes[complexType.QualifiedName];
678if (redefine.SchemaTypes[simpleType.QualifiedName] != null)
684AddToTable(redefine.SchemaTypes, simpleType.QualifiedName, simpleType);
685XmlSchemaType type = (XmlSchemaType)redefine.Schema.SchemaTypes[simpleType.QualifiedName];
784if (restriction.BaseTypeName == stype.QualifiedName)
821if (baseName == ctype.QualifiedName)
1387if (complexType.QualifiedName == XmlQualifiedName.Empty)
1393SendValidationEvent(ResXml.Sch_NoRestOrExtQName, complexType.QualifiedName.Name, complexType.QualifiedName.Namespace, complexType);
1442if (complexType.QualifiedName == XmlQualifiedName.Empty)
1448SendValidationEvent(ResXml.Sch_NoRestOrExtQName, complexType.QualifiedName.Name, complexType.QualifiedName.Namespace, complexType);