94 references to
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\SchemaImporter.cs (1)
420if (redefine.SchemaTypes[typeName] != null)
System.Private.Xml (91)
System\Xml\Dom\DocumentSchemaValidator.cs (3)
108partialValidationType = _schemas.GlobalElements[schemaElement.QualifiedName]; //Get Global element with correct Nillable, Default etc 560XmlSchemaAttribute? schemaAttribute = elementSchemaType.AttributeUses[attName] as XmlSchemaAttribute; 568schemaAttribute = _schemas.GlobalAttributes[attName] as XmlSchemaAttribute;
System\Xml\Schema\BaseProcessor.cs (3)
61XmlSchemaObject? existingObject = (XmlSchemaObject?)table[qname]; 76XmlSchemaObject? builtInAttributeGroup = schemaForXmlNS.AttributeGroups[qname]; 99XmlSchemaObject? builtInAttribute = schemaForXmlNS.Attributes[qname];
System\Xml\Schema\ContentValidator.cs (1)
1023XmlSchemaSubstitutionGroup? grp = (XmlSchemaSubstitutionGroup?)substitutionGroups[elem.QualifiedName];
System\Xml\Schema\Inference\Infer.cs (1)
1011_schemaSet!.GlobalTypes[elem.SchemaTypeName] as XmlSchemaType ??
System\Xml\Schema\Preprocessor.cs (9)
847if (redefine.Groups[group.QualifiedName] != null) 854XmlSchemaGroup? originalGroup = (XmlSchemaGroup?)schemaToUpdate.Groups[group.QualifiedName]; 872if (redefine.AttributeGroups[attributeGroup.QualifiedName] != null) 879XmlSchemaAttributeGroup? originalAttrGroup = (XmlSchemaAttributeGroup?)schemaToUpdate.AttributeGroups[attributeGroup.QualifiedName]; 897if (redefine.SchemaTypes[complexType.QualifiedName] != null) 904XmlSchemaType? originalType = (XmlSchemaType?)schemaToUpdate.SchemaTypes[complexType.QualifiedName]; 926if (redefine.SchemaTypes[simpleType.QualifiedName] != null) 933XmlSchemaType? originalType = (XmlSchemaType?)schemaToUpdate.SchemaTypes[simpleType.QualifiedName]; 1449if (_rootSchema!.IdentityConstraints[constraint.QualifiedName] != null)
System\Xml\Schema\SchemaCollectionCompiler.cs (23)
45XmlSchemaSubstitutionGroup? substitutionGroup = (XmlSchemaSubstitutionGroup?)_examplars[element.SubstitutionGroup]; 441XmlSchemaElement? examplar = (XmlSchemaElement?)_schema!.Elements[substitutionGroup.Examplar]; 459XmlSchemaSubstitutionGroupV1Compat? g = (XmlSchemaSubstitutionGroupV1Compat?)_examplars[element!.QualifiedName]; 485XmlSchemaElement? examplar = (XmlSchemaElement?)_schema!.Elements[substitutionGroup.Examplar]; 1104XmlSchemaSubstitutionGroupV1Compat? substitutionGroup = (XmlSchemaSubstitutionGroupV1Compat?)_examplars[element.QualifiedName]; 1132group = (XmlSchemaGroup?)_schema!.Groups[groupRef.RefName]; 1736if (attributeGroup.AttributeUses[attribute.QualifiedName] == null) 1755attributeGroupResolved = (XmlSchemaAttributeGroup?)_schema!.AttributeGroups[attributeGroupRef.RefName]; 1762if (attributeGroup.AttributeUses[attributeValue!.QualifiedName] == null) 1799if (derivedType.AttributeUses[attribute.QualifiedName] == null) 1816XmlSchemaAttributeGroup? attributeGroup = (XmlSchemaAttributeGroup?)_schema!.AttributeGroups[attributeGroupRef.RefName]; 1825if (derivedType.AttributeUses[attributeValue.QualifiedName] == null) 1856XmlSchemaAttribute? attribute = (XmlSchemaAttribute?)derivedType.AttributeUses[attributeBase!.QualifiedName]; 1886XmlSchemaAttribute? attribute = (XmlSchemaAttribute?)derivedType.AttributeUses[attributeBase!.QualifiedName]; 1911XmlSchemaAttribute? attributeBase = (XmlSchemaAttribute?)baseType.AttributeUses[attribute!.QualifiedName]; 1989XmlSchemaAttribute? a = (XmlSchemaAttribute?)_schema!.Attributes[xa.RefName]; 2194XmlSchemaElement? e = (XmlSchemaElement?)_schema!.Elements[xe.RefName]; 2223XmlSchemaElement? examplar = (XmlSchemaElement?)_schema!.Elements[xe.SubstitutionGroup]; 2579if (complexType.LocalElements[localElement.QualifiedName] == null) 2585XmlSchemaElement element = (XmlSchemaElement)complexType.LocalElements[localElement.QualifiedName]!; 2621XmlSchemaSimpleType? type = _schema!.SchemaTypes[name] as XmlSchemaSimpleType; 2648XmlSchemaComplexType? type = _schema!.SchemaTypes[name] as XmlSchemaComplexType; 2658XmlSchemaType? type = (XmlSchemaType?)_schema!.SchemaTypes[name];
System\Xml\Schema\SchemaCollectionpreProcessor.cs (9)
597if (redefine.Groups[group.QualifiedName] != null) 604group.Redefined = (XmlSchemaGroup?)redefine.Schema!.Groups[group.QualifiedName]; 618if (redefine.AttributeGroups[attributeGroup.QualifiedName] != null) 625attributeGroup.Redefined = (XmlSchemaAttributeGroup?)redefine.Schema!.AttributeGroups[attributeGroup.QualifiedName]; 639if (redefine.SchemaTypes[complexType.QualifiedName] != null) 646XmlSchemaType? type = (XmlSchemaType?)redefine.Schema!.SchemaTypes[complexType.QualifiedName]; 668if (redefine.SchemaTypes[simpleType.QualifiedName] != null) 675XmlSchemaType? type = (XmlSchemaType?)redefine.Schema!.SchemaTypes[simpleType.QualifiedName]; 1120if (_schema!.IdentityConstraints[constraint.QualifiedName] != null)
System\Xml\Schema\SchemaSetCompiler.cs (25)
453XmlSchemaElement? headElement = _elements[element.SubstitutionGroup!] as XmlSchemaElement; 467XmlSchemaSubstitutionGroup? substitutionGroup = (XmlSchemaSubstitutionGroup?)_examplars[element.SubstitutionGroup]; 498XmlSchemaElement examplar = (XmlSchemaElement)_elements[substitutionGroup.Examplar]!; 521XmlSchemaSubstitutionGroup? g = (XmlSchemaSubstitutionGroup?)_examplars[element.QualifiedName]; 1235XmlSchemaSubstitutionGroup? substitutionGroup = (XmlSchemaSubstitutionGroup?)_examplars[element.QualifiedName]; 1268group = (XmlSchemaGroup?)_groups[groupRef.RefName]; 2091if (attributeGroup.AttributeUses[attr.QualifiedName] == null) 2110attributeGroupResolved = (XmlSchemaAttributeGroup?)_attributeGroups[attributeGroupRef.RefName]; 2118if (attributeGroup.AttributeUses[attribute!.QualifiedName] == null) 2159if (derivedType.AttributeUses[attr.QualifiedName] == null) 2176XmlSchemaAttributeGroup? attributeGroup = (XmlSchemaAttributeGroup?)_attributeGroups[attributeGroupRef.RefName]; 2185if (derivedType.AttributeUses[attribute.QualifiedName] == null) 2217XmlSchemaAttribute? attribute = (XmlSchemaAttribute?)derivedType.AttributeUses[attributeBase!.QualifiedName]; 2247XmlSchemaAttribute? attribute = (XmlSchemaAttribute?)derivedType.AttributeUses[attributeBase!.QualifiedName]; 2280XmlSchemaAttribute? attributeBase = (XmlSchemaAttribute?)baseType.AttributeUses[attribute!.QualifiedName]; 2311XmlSchemaAttribute? attribute = (XmlSchemaAttribute?)derivedAttributeGroup.AttributeUses[attributeBase!.QualifiedName]; 2343XmlSchemaAttribute? attributeBase = (XmlSchemaAttribute?)baseAttributeGroup.AttributeUses[attribute!.QualifiedName]; 2430XmlSchemaAttribute? a = (XmlSchemaAttribute?)_attributes[xa.RefName]; 2653XmlSchemaElement? e = (XmlSchemaElement?)_elements[xe.RefName]; 2682XmlSchemaElement? examplar = (XmlSchemaElement?)_elements[xe.SubstitutionGroup]; 2961if (complexType.LocalElements[localElement.QualifiedName] == null) 2967XmlSchemaElement element = (XmlSchemaElement)complexType.LocalElements[localElement.QualifiedName]!; 3023XmlSchemaSimpleType? type = _schemaTypes[name] as XmlSchemaSimpleType; 3037XmlSchemaComplexType? type = _schemaTypes[name] as XmlSchemaComplexType; 3048XmlSchemaType? type = (XmlSchemaType?)_schemaTypes[name];
System\Xml\Schema\XmlSchemaSet.cs (7)
634if (_schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[DatatypeImplementation.QnAnyType] != null) 650if (_schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[DatatypeImplementation.QnAnyType] != null) 927if (_schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[DatatypeImplementation.QnAnyType] != null) 943if (_schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[DatatypeImplementation.QnAnyType] != null) 994XmlSchemaSubstitutionGroup? g = (XmlSchemaSubstitutionGroup?)substTable[element.QualifiedName]; 1388XmlSchemaObject? existingObject = (XmlSchemaObject?)table[qname]; 1414XmlSchemaObject builtInAttribute = schemaForXmlNS.Attributes[qname]!;
System\Xml\Serialization\Mappings.cs (1)
1334_xsdType = (XmlSchemaType?)s.SchemaTypes[_xsiType];
System\Xml\Serialization\XmlReflectionImporter.cs (1)
602XmlSchemaType t = (XmlSchemaType)s.SchemaTypes[baseQname]!;
System\Xml\Serialization\XmlSchemaExporter.cs (1)
481type = (XmlSchemaType?)schema.SchemaTypes[serializableMapping.XsiType];
System\Xml\Serialization\XmlSchemaImporter.cs (1)
172XmlSchemaObject? xso = Schemas.SchemaSet.GlobalTypes[typeName];
System\Xml\Serialization\XmlSchemas.cs (6)
232ret = schema.SchemaTypes[name]; 240ret = schema.Groups[name]; 244ret = schema.AttributeGroups[name]; 248ret = schema.Elements[name]; 252ret = schema.Attributes[name]; 256ret = schema.Notations[name];
System.Private.Xml.Linq (2)
System\Xml\Schema\XNodeValidator.cs (2)
132saCopy = schemas.GlobalAttributes[name] as XmlSchemaAttribute; 146seCopy = schemas.GlobalElements[name] as XmlSchemaElement;