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