11 writes to RefName
System.Private.DataContractSerialization (3)
System\Runtime\Serialization\SchemaExporter.cs (3)
908iSerializableFactoryTypeAttribute.RefName = new XmlQualifiedName(Globals.ISerializableFactoryTypeLocalName, Globals.SerializationNamespace); 920refAttribute.RefName = Globals.RefQualifiedName; 932idAttribute.RefName = Globals.IdQualifiedName;
System.Private.Xml (8)
System\Xml\Schema\Inference\Infer.cs (2)
308attributeReference.RefName = new XmlQualifiedName(localName, childURI); 368attributeReference.RefName = new XmlQualifiedName(localName, childURI);
System\Xml\Schema\Preprocessor.cs (3)
458langRef.RefName = new XmlQualifiedName("lang", XmlReservedNs.NsXml); 461spaceRef.RefName = new XmlQualifiedName("space", XmlReservedNs.NsXml); 464baseRef.RefName = new XmlQualifiedName("base", XmlReservedNs.NsXml);
System\Xml\Schema\XsdBuilder.cs (1)
1281builder._attribute!.RefName = builder.ParseQName(value, "ref");
System\Xml\Serialization\XmlSchemaExporter.cs (2)
696attribute.RefName = new XmlQualifiedName(accessor.Name, XmlReservedNs.NsXml); 757refAttribute.RefName = new XmlQualifiedName(accessor.Name, accessor.Namespace);
48 references to RefName
System.Data.Common (4)
System\Data\XMLSchema.cs (4)
1545instanceName = attr.Name ?? attr.RefName.Name; 1943_type = isAttr ? attr!.RefName.Name : el!.RefName.Name; 1947typeNode = isAttr ? FindTypeNode((XmlSchemaAnnotated)_attributes![attr!.RefName]!) : FindTypeNode((XmlSchemaAnnotated)_elementsTable![el!.RefName]!); 2199XmlSchemaAttribute? attr = attrib.Name != null ? attrib : (XmlSchemaAttribute)_attributes![attrib.RefName]!;
System.Private.DataContractSerialization (6)
System\Runtime\Serialization\SchemaExporter.cs (1)
484SchemaHelper.AddSchemaImport(ISerializableFactoryTypeAttribute.RefName.Namespace, schema);
System\Runtime\Serialization\SchemaImporter.cs (5)
871XmlQualifiedName factoryTypeAttributeRefName = SchemaExporter.ISerializableFactoryTypeAttribute.RefName; 880if (((XmlSchemaAttribute)o).RefName == factoryTypeAttributeRefName) 1385if (attribute.RefName.IsEmpty || attribute.RefName.Namespace != Globals.SerializationNamespace || attribute.Use == XmlSchemaUse.Required) 1395if (attribute.RefName != refName)
System.Private.Xml (37)
System\Xml\Schema\Inference\Infer.cs (5)
1370if (schemaAttribute.RefName.Name == attributeName && schemaAttribute.RefName.Namespace == nsURI) 1423if (attr.RefName.Name.Length == 0) 1432if (null == FindAttributeRef(attributesInInstance, attr.RefName.Name, attr.RefName.Namespace))
System\Xml\Schema\Preprocessor.cs (4)
1181if (attribute.RefName.IsEmpty) 1187ValidateQNameAttribute(attribute, "ref", attribute.RefName); 1198attribute.SetQualifiedName(attribute.RefName); 1212if (!attribute.RefName.IsEmpty)
System\Xml\Schema\SchemaCollectionCompiler.cs (6)
1987if (!xa.RefName.IsEmpty) 1989XmlSchemaAttribute? a = (XmlSchemaAttribute?)_schema!.Attributes[xa.RefName]; 1992throw new XmlSchemaException(SR.Sch_UndeclaredAttribute, xa.RefName.ToString(), xa); 1997throw new XmlSchemaException(SR.Sch_RefInvalidAttribute, xa.RefName.ToString(), xa); 2006throw new XmlSchemaException(SR.Sch_FixedDefaultInRef, xa.RefName.ToString(), xa); 2012throw new XmlSchemaException(SR.Sch_FixedInRef, xa.RefName.ToString(), xa);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (4)
855if (attribute.RefName.IsEmpty) 861ValidateQNameAttribute(attribute, "ref", attribute.RefName); 872attribute.SetQualifiedName(attribute.RefName); 884if (!attribute.RefName.IsEmpty)
System\Xml\Schema\SchemaSetCompiler.cs (6)
2428if (!xa.RefName.IsEmpty) 2430XmlSchemaAttribute? a = (XmlSchemaAttribute?)_attributes[xa.RefName]; 2433throw new XmlSchemaException(SR.Sch_UndeclaredAttribute, xa.RefName.ToString(), xa); 2438throw new XmlSchemaException(SR.Sch_RefInvalidAttribute, xa.RefName.ToString(), xa); 2453throw new XmlSchemaException(SR.Sch_FixedDefaultInRef, xa.RefName.ToString(), xa); 2460throw new XmlSchemaException(SR.Sch_FixedInRef, xa.RefName.ToString(), xa);
System\Xml\Schema\XmlSchemaComplexType.cs (2)
432if (!att.RefName.IsEmpty || !att.SchemaTypeName.IsEmpty) 562if (!attribute.RefName.IsEmpty || !attribute.SchemaTypeName.IsEmpty)
System\Xml\Serialization\ImportContext.cs (2)
420if (!at.RefName.IsEmpty) 422at = (XmlSchemaAttribute?)_schemas.Find(at.RefName, typeof(XmlSchemaAttribute), false);
System\Xml\Serialization\SchemaObjectWriter.cs (2)
318if (!o.RefName.IsEmpty) 320WriteAttribute("ref", "", o.RefName);
System\Xml\Serialization\XmlSchemaImporter.cs (5)
1606if (!attribute.RefName.IsEmpty) 1608if (attribute.RefName.Namespace == XmlReservedNs.NsXml) 1609return ImportSpecialAttribute(attribute.RefName); 1611return ImportAttribute(FindAttribute(attribute.RefName), identifier, attribute.RefName.Namespace, defaultValueProvider);
System\Xml\Serialization\XmlSchemas.cs (1)
542return SR.Format(SR.XmlSchemaAttributeReference, a.RefName.ToString(), parentName.Name, parentName.Namespace);
System.Private.Xml.Linq (1)
System\Xml\Schema\XNodeValidator.cs (1)
129XmlQualifiedName name = saCopy.RefName;