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