108 references to
System.Data (1)
fx\src\data\System\Data\DataSet.cs (1)
3502XmlSchemaType type = (XmlSchemaType)schema.SchemaTypes[new XmlQualifiedName(name, schemaNamespace)];
System.Data.Services.Design (2)
System\Data\EntityModel\EntityClassGenerator.cs (2)
284XmlSchemaComplexType associationType = csdlSchema.SchemaTypes[new XmlQualifiedName("TAssociation", csdlSchema.TargetNamespace)] as XmlSchemaComplexType; 315XmlSchemaElement entityContainerElement = csdlSchema.Elements[new XmlQualifiedName("EntityContainer", csdlSchema.TargetNamespace)] as XmlSchemaElement;
System.Runtime.Serialization (1)
System\Runtime\Serialization\SchemaImporter.cs (1)
422if (redefine.SchemaTypes[typeName] != null)
System.ServiceModel (4)
System\ServiceModel\Description\MessageContractImporter.cs (2)
807element = (XmlSchemaElement)schema.Elements[elementName]; 836type = (XmlSchemaType)schema.SchemaTypes[typeName];
System\ServiceModel\Description\SchemaHelper.cs (2)
23XmlSchemaElement existingElement = (XmlSchemaElement)schema.Elements[new XmlQualifiedName(element.Name, schema.TargetNamespace)]; 59XmlSchemaType existingType = (XmlSchemaType)schema.SchemaTypes[new XmlQualifiedName(type.Name, schema.TargetNamespace)];
System.ServiceModel.Web (2)
System\ServiceModel\Dispatcher\HelpExampleGenerator.cs (2)
141InvokeHandler(schemaSet.GlobalElements[name], context); 162InvokeHandler(schemaSet.GlobalElements[name], context);
System.Xml (96)
System\Xml\Dom\DocumentSchemaValidator.cs (3)
107partialValidationType = schemas.GlobalElements[schemaElement.QualifiedName]; //Get Global element with correct Nillable, Default etc 509XmlSchemaAttribute schemaAttribute = elementSchemaType.AttributeUses[attName] as XmlSchemaAttribute; 514schemaAttribute = schemas.GlobalAttributes[attName] as XmlSchemaAttribute;
System\Xml\Schema\BaseProcessor.cs (3)
63XmlSchemaObject existingObject = (XmlSchemaObject)table[qname]; 74XmlSchemaObject builtInAttributeGroup = schemaForXmlNS.AttributeGroups[qname]; 92XmlSchemaObject builtInAttribute = schemaForXmlNS.Attributes[qname];
System\Xml\Schema\ContentValidator.cs (1)
948XmlSchemaSubstitutionGroup grp = (XmlSchemaSubstitutionGroup)substitutionGroups[elem.QualifiedName];
System\Xml\Schema\Inference\Infer.cs (1)
1021effectiveSchemaType = schemaSet.GlobalTypes[elem.SchemaTypeName] as XmlSchemaType;
System\Xml\Schema\Preprocessor.cs (9)
740if (redefine.Groups[group.QualifiedName] != null) { 745XmlSchemaGroup originalGroup = (XmlSchemaGroup)schemaToUpdate.Groups[group.QualifiedName]; 761if (redefine.AttributeGroups[attributeGroup.QualifiedName] != null) { 766XmlSchemaAttributeGroup originalAttrGroup = (XmlSchemaAttributeGroup)schemaToUpdate.AttributeGroups[attributeGroup.QualifiedName]; 782if (redefine.SchemaTypes[complexType.QualifiedName] != null) { 787XmlSchemaType originalType = (XmlSchemaType)schemaToUpdate.SchemaTypes[complexType.QualifiedName]; 806if (redefine.SchemaTypes[simpleType.QualifiedName] != null) { 811XmlSchemaType originalType = (XmlSchemaType)schemaToUpdate.SchemaTypes[simpleType.QualifiedName]; 1213if (rootSchema.IdentityConstraints[constraint.QualifiedName] != null) {
System\Xml\Schema\SchemaCollectionCompiler.cs (23)
41XmlSchemaSubstitutionGroup substitutionGroup = (XmlSchemaSubstitutionGroup)this.examplars[element.SubstitutionGroup]; 345XmlSchemaElement examplar = (XmlSchemaElement)this.schema.Elements[substitutionGroup.Examplar]; 358XmlSchemaSubstitutionGroupV1Compat g = (XmlSchemaSubstitutionGroupV1Compat)examplars[element.QualifiedName]; 379XmlSchemaElement examplar = (XmlSchemaElement)this.schema.Elements[substitutionGroup.Examplar]; 879XmlSchemaSubstitutionGroupV1Compat substitutionGroup = (XmlSchemaSubstitutionGroupV1Compat)examplars[element.QualifiedName]; 901group = (XmlSchemaGroup)this.schema.Groups[groupRef.RefName]; 1378if (attributeGroup.AttributeUses[attribute.QualifiedName] == null) { 1392attributeGroupResolved = (XmlSchemaAttributeGroup)this.schema.AttributeGroups[attributeGroupRef.RefName]; 1397if (attributeGroup.AttributeUses[attributeValue.QualifiedName] == null) { 1427if (derivedType.AttributeUses[attribute.QualifiedName] == null) { 1441XmlSchemaAttributeGroup attributeGroup = (XmlSchemaAttributeGroup)this.schema.AttributeGroups[attributeGroupRef.RefName]; 1447if (derivedType.AttributeUses[attributeValue.QualifiedName] == null) { 1472XmlSchemaAttribute attribute = (XmlSchemaAttribute)derivedType.AttributeUses[attributeBase.QualifiedName]; 1495XmlSchemaAttribute attribute = (XmlSchemaAttribute)derivedType.AttributeUses[attributeBase.QualifiedName]; 1523XmlSchemaAttribute attributeBase = (XmlSchemaAttribute)baseType.AttributeUses[attribute.QualifiedName]; 1638XmlSchemaAttribute a = (XmlSchemaAttribute)this.schema.Attributes[xa.RefName]; 1804XmlSchemaElement e = (XmlSchemaElement)this.schema.Elements[xe.RefName]; 1826XmlSchemaElement examplar = (XmlSchemaElement)this.schema.Elements[xe.SubstitutionGroup]; 2116if (complexType.LocalElements[localElement.QualifiedName] == null) { 2120XmlSchemaElement element = (XmlSchemaElement)complexType.LocalElements[localElement.QualifiedName]; 2147XmlSchemaSimpleType type = this.schema.SchemaTypes[name] as XmlSchemaSimpleType; 2167XmlSchemaComplexType type = this.schema.SchemaTypes[name] as XmlSchemaComplexType; 2175XmlSchemaType type = (XmlSchemaType)this.schema.SchemaTypes[name];
System\Xml\Schema\SchemaCollectionpreProcessor.cs (9)
494if (redefine.Groups[group.QualifiedName] != null) { 499group.Redefined = (XmlSchemaGroup)redefine.Schema.Groups[group.QualifiedName]; 511if (redefine.AttributeGroups[attributeGroup.QualifiedName] != null) { 516attributeGroup.Redefined = (XmlSchemaAttributeGroup)redefine.Schema.AttributeGroups[attributeGroup.QualifiedName]; 528if (redefine.SchemaTypes[complexType.QualifiedName] != null) { 533XmlSchemaType type = (XmlSchemaType)redefine.Schema.SchemaTypes[complexType.QualifiedName]; 551if (redefine.SchemaTypes[simpleType.QualifiedName] != null) { 556XmlSchemaType type = (XmlSchemaType)redefine.Schema.SchemaTypes[simpleType.QualifiedName]; 901if (this.schema.IdentityConstraints[constraint.QualifiedName] != null) {
System\Xml\Schema\SchemaSetCompiler.cs (25)
352XmlSchemaElement headElement = this.elements[element.SubstitutionGroup] as XmlSchemaElement; 363XmlSchemaSubstitutionGroup substitutionGroup = (XmlSchemaSubstitutionGroup)this.examplars[element.SubstitutionGroup]; 387XmlSchemaElement examplar = (XmlSchemaElement)elements[substitutionGroup.Examplar]; 403XmlSchemaSubstitutionGroup g = (XmlSchemaSubstitutionGroup)examplars[element.QualifiedName]; 973XmlSchemaSubstitutionGroup substitutionGroup = (XmlSchemaSubstitutionGroup)examplars[element.QualifiedName]; 999group = (XmlSchemaGroup)groups[groupRef.RefName]; 1655if (attributeGroup.AttributeUses[attr.QualifiedName] == null) { 1669attributeGroupResolved = (XmlSchemaAttributeGroup)attributeGroups[attributeGroupRef.RefName]; 1674if (attributeGroup.AttributeUses[attribute.QualifiedName] == null) { 1706if (derivedType.AttributeUses[attr.QualifiedName] == null) { 1720XmlSchemaAttributeGroup attributeGroup = (XmlSchemaAttributeGroup)attributeGroups[attributeGroupRef.RefName]; 1726if (derivedType.AttributeUses[attribute.QualifiedName] == null) { 1751XmlSchemaAttribute attribute = (XmlSchemaAttribute)derivedType.AttributeUses[attributeBase.QualifiedName]; 1774XmlSchemaAttribute attribute = (XmlSchemaAttribute)derivedType.AttributeUses[attributeBase.QualifiedName]; 1808XmlSchemaAttribute attributeBase = (XmlSchemaAttribute)baseType.AttributeUses[attribute.QualifiedName]; 1840XmlSchemaAttribute attribute = (XmlSchemaAttribute)derivedAttributeGroup.AttributeUses[attributeBase.QualifiedName]; 1864XmlSchemaAttribute attributeBase = (XmlSchemaAttribute)baseAttributeGroup.AttributeUses[attribute.QualifiedName]; 1974XmlSchemaAttribute a = (XmlSchemaAttribute)attributes[xa.RefName]; 2150XmlSchemaElement e = (XmlSchemaElement)elements[xe.RefName]; 2172XmlSchemaElement examplar = (XmlSchemaElement)elements[xe.SubstitutionGroup]; 2473if (complexType.LocalElements[localElement.QualifiedName] == null) { 2477XmlSchemaElement element = (XmlSchemaElement)complexType.LocalElements[localElement.QualifiedName]; 2521XmlSchemaSimpleType type = schemaTypes[name] as XmlSchemaSimpleType; 2532XmlSchemaComplexType type = schemaTypes[name] as XmlSchemaComplexType; 2540XmlSchemaType type = (XmlSchemaType)schemaTypes[name];
System\Xml\Schema\XmlSchemaSet.cs (12)
654if (schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[DatatypeImplementation.QnAnyType] != null) { //it has xs:anyType 666if (schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[DatatypeImplementation.QnAnyType] != null) { //it has xs:anyType 926if (schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[DatatypeImplementation.QnAnyType] != null) { //it has xs:anyType 938if (schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[DatatypeImplementation.QnAnyType] != null) { //it has xs:anyType 954XmlSchemaSubstitutionGroup oldSubstGroup = (XmlSchemaSubstitutionGroup)substitutionGroups[head]; 970XmlSchemaElement headElement = (XmlSchemaElement)elements[substitutionGroup.Examplar]; 978XmlSchemaSubstitutionGroup g = (XmlSchemaSubstitutionGroup)substTable[element.QualifiedName]; 1277XmlSchemaElement elem = (XmlSchemaElement)elements[elementToRemove.QualifiedName]; 1283XmlSchemaAttribute attr = (XmlSchemaAttribute)attributes[attributeToRemove.QualifiedName]; 1289XmlSchemaType schemaType = (XmlSchemaType)schemaTypes[schemaTypeToRemove.QualifiedName]; 1299XmlSchemaObject existingObject = (XmlSchemaObject)table[qname]; 1317XmlSchemaObject builtInAttribute = schemaForXmlNS.Attributes[qname];
System\Xml\Serialization\Mappings.cs (1)
1176xsdType = (XmlSchemaType)s.SchemaTypes[xsiType];
System\Xml\Serialization\XmlReflectionImporter.cs (1)
531XmlSchemaType t = (XmlSchemaType)s.SchemaTypes[baseQname];
System\Xml\Serialization\XmlSchemaExporter.cs (1)
449type = (XmlSchemaType)schema.SchemaTypes[serializableMapping.XsiType];
System\Xml\Serialization\XmlSchemaImporter.cs (1)
204XmlSchemaObject xso = Schemas.SchemaSet.GlobalTypes[typeName];
System\Xml\Serialization\XmlSchemas.cs (6)
291ret = schema.SchemaTypes[name]; 297ret = schema.Groups[name]; 300ret = schema.AttributeGroups[name]; 303ret = schema.Elements[name]; 306ret = schema.Attributes[name]; 309ret = schema.Notations[name];
System.Xml.Linq (2)
System\Xml\Linq\XNodeValidator.cs (2)
107sa = schemas.GlobalAttributes[name] as XmlSchemaAttribute; 118se = schemas.GlobalElements[name] as XmlSchemaElement;