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