2 writes to RefName
System.Private.Xml (2)
System\Xml\Schema\XmlSchemaComplexType.cs (1)
426newAttGroupRef.RefName = attributeGroupRef.RefName.Clone();
System\Xml\Schema\XsdBuilder.cs (1)
1811builder._attributeGroupRef!.RefName = builder.ParseQName(value, "ref");
25 references to RefName
System.Data.Common (4)
System\Data\XMLSchema.cs (4)
999XmlSchemaAttributeGroup? schemaGroup = _attributeGroups![groupRef!.RefName] as XmlSchemaAttributeGroup; 1022if (attributeGroup.RedefinedAttributeGroup != null && attributeGroupRef.RefName == new XmlQualifiedName(attributeGroup.Name, attributeGroupRef.RefName.Namespace)) 1028attributeGroupResolved = (XmlSchemaAttributeGroup?)_attributeGroups![attributeGroupRef.RefName];
System.Private.Xml (21)
System\Xml\Schema\Preprocessor.cs (3)
1083if (attrGroupRef != null && attrGroupRef.RefName == attributeGroup.QualifiedName) 2014if (attributeGroupRef.RefName.IsEmpty) 2020ValidateQNameAttribute(attributeGroupRef, "ref", attributeGroupRef.RefName);
System\Xml\Schema\SchemaCollectionCompiler.cs (5)
1749if (attributeGroup.Redefined != null && attributeGroupRef.RefName == attributeGroup.Redefined.QualifiedName) 1755attributeGroupResolved = (XmlSchemaAttributeGroup?)_schema!.AttributeGroups[attributeGroupRef.RefName]; 1776SendValidationEvent(SR.Sch_UndefAttributeGroupRef, attributeGroupRef.RefName.ToString(), attributeGroupRef); 1816XmlSchemaAttributeGroup? attributeGroup = (XmlSchemaAttributeGroup?)_schema!.AttributeGroups[attributeGroupRef.RefName]; 1843SendValidationEvent(SR.Sch_UndefAttributeGroupRef, attributeGroupRef.RefName.ToString(), attributeGroupRef);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (3)
760if (groupRef != null && groupRef.RefName == attributeGroup.QualifiedName) 1682if (attributeGroupRef.RefName.IsEmpty) 1688ValidateQNameAttribute(attributeGroupRef, "ref", attributeGroupRef.RefName);
System\Xml\Schema\SchemaSetCompiler.cs (5)
2104if (attributeGroup.Redefined != null && attributeGroupRef.RefName == attributeGroup.Redefined.QualifiedName) 2110attributeGroupResolved = (XmlSchemaAttributeGroup?)_attributeGroups[attributeGroupRef.RefName]; 2132SendValidationEvent(SR.Sch_UndefAttributeGroupRef, attributeGroupRef.RefName.ToString(), attributeGroupRef); 2176XmlSchemaAttributeGroup? attributeGroup = (XmlSchemaAttributeGroup?)_attributeGroups[attributeGroupRef.RefName]; 2204SendValidationEvent(SR.Sch_UndefAttributeGroupRef, attributeGroupRef.RefName.ToString(), attributeGroupRef);
System\Xml\Schema\XmlSchemaComplexType.cs (1)
426newAttGroupRef.RefName = attributeGroupRef.RefName.Clone();
System\Xml\Serialization\ImportContext.cs (1)
407XmlSchemaAttributeGroup? group = (XmlSchemaAttributeGroup?)_schemas.Find(((XmlSchemaAttributeGroupRef)item).RefName, typeof(XmlSchemaAttributeGroup), false);
System\Xml\Serialization\SchemaObjectWriter.cs (2)
763if (!o.RefName.IsEmpty) 765WriteAttribute("ref", "", o.RefName);
System\Xml\Serialization\XmlSchemaImporter.cs (1)
672XmlQualifiedName groupName = ((XmlSchemaAttributeGroupRef)item).RefName;