2 writes to RefName
System.Private.Xml (2)
System\Xml\Schema\XmlSchemaComplexType.cs (1)
471newGroupRef.RefName = newGroupRef.RefName.Clone();
System\Xml\Schema\XsdBuilder.cs (1)
1943builder._groupRef!.RefName = builder.ParseQName(value, "ref");
28 references to RefName
System.Private.Xml (28)
System\Xml\Schema\Preprocessor.cs (3)
1041if (groupRef.RefName == name) 1976if (groupRef.RefName.IsEmpty) 1982ValidateQNameAttribute(groupRef, "ref", groupRef.RefName);
System\Xml\Schema\SchemaCollectionCompiler.cs (2)
1132group = (XmlSchemaGroup?)_schema!.Groups[groupRef.RefName]; 1136SendValidationEvent(SR.Sch_UndefGroupRef, groupRef.RefName.ToString(), groupRef);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (3)
720if (groupRef.RefName == name) 1644if (groupRef.RefName.IsEmpty) 1650ValidateQNameAttribute(groupRef, "ref", groupRef.RefName);
System\Xml\Schema\SchemaSetCompiler.cs (2)
1268group = (XmlSchemaGroup?)_groups[groupRef.RefName]; 1273SendValidationEvent(SR.Sch_UndefGroupRef, groupRef.RefName.ToString(), groupRef);
System\Xml\Schema\XmlSchemaComplexType.cs (1)
471newGroupRef.RefName = newGroupRef.RefName.Clone();
System\Xml\Serialization\ImportContext.cs (2)
306particle = ((XmlSchemaGroup)_schemas.Find(refGroup.RefName, typeof(XmlSchemaGroup), false)!).Particle; 395XmlSchemaGroup? group = (XmlSchemaGroup?)_schemas.Find(((XmlSchemaGroupRef)item).RefName, typeof(XmlSchemaGroup), false);
System\Xml\Serialization\SchemaObjectWriter.cs (3)
92return ((XmlSchemaGroupRef)o).RefName; 1209if (!o.RefName.IsEmpty) 1211WriteAttribute("ref", "", o.RefName);
System\Xml\Serialization\XmlSchemaImporter.cs (12)
741items.Particle = FindGroup(refGroup.RefName).Particle; 919if (!refGroup.RefName.IsEmpty) 921AddReference(refGroup.RefName, GroupsInUse, SR.XmlCircularGroupReference); 922if (GatherGroupChoices(FindGroup(refGroup.RefName), choiceElements, identifier, refGroup.RefName.Namespace, ref needExplicitOrder, allowDuplicates)) 924RemoveReference(refGroup.RefName, GroupsInUse); 927RemoveReference(refGroup.RefName, GroupsInUse); 1021if (!refGroup.RefName.IsEmpty) 1023AddReference(refGroup.RefName, GroupsInUse, SR.XmlCircularGroupReference); 1024ImportGroupMembers(FindGroup(refGroup.RefName).Particle, identifier, members, membersScope, elementsScope, refGroup.RefName.Namespace, groupRepeats | refGroup.IsMultipleOccurrence, ref mixed, ref needExplicitOrder, allowDuplicates, allowUnboundedElements); 1025RemoveReference(refGroup.RefName, GroupsInUse);