13 writes to RefName
System.Runtime.Serialization (3)
System\Runtime\Serialization\SchemaExporter.cs (3)
1036iSerializableFactoryTypeAttribute.RefName = new XmlQualifiedName(Globals.ISerializableFactoryTypeLocalName, Globals.SerializationNamespace); 1048refAttribute.RefName = Globals.RefQualifiedName; 1060idAttribute.RefName = Globals.IdQualifiedName;
System.Web.Services (1)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (1)
7386o.@RefName = ToXmlQualifiedName(Reader.Value);
System.Xml (9)
System\Xml\Schema\Inference\Infer.cs (2)
328attributeReference.RefName = new XmlQualifiedName(localName, childURI); 387attributeReference.RefName = new XmlQualifiedName(localName, childURI);
System\Xml\Schema\Preprocessor.cs (3)
402langRef.RefName = new XmlQualifiedName("lang", XmlReservedNs.NsXml); 405spaceRef.RefName = new XmlQualifiedName("space", XmlReservedNs.NsXml); 408baseRef.RefName = new XmlQualifiedName("base", XmlReservedNs.NsXml);
System\Xml\Schema\XsdBuilder.cs (1)
1217builder.attribute.RefName = builder.ParseQName(value, "ref");
System\Xml\Serialization\SoapSchemaExporter.cs (1)
220attr.RefName = ArrayTypeQName;
System\Xml\Serialization\XmlSchemaExporter.cs (2)
632attribute.RefName = new XmlQualifiedName(accessor.Name, XmlReservedNs.NsXml); 682refAttribute.RefName = new XmlQualifiedName(accessor.Name, accessor.Namespace);
52 references to RefName
System.Data (4)
fx\src\data\System\Data\XMLSchema.cs (4)
1325instanceName = el.Name != null ? el.Name : el.RefName.Name; 1679_type = isAttr ? attr.RefName.Name : el.RefName.Name; 1683typeNode = isAttr ? FindTypeNode((XmlSchemaAnnotated)attributes[attr.RefName]) :FindTypeNode((XmlSchemaAnnotated)elementsTable[el.RefName]); 1902XmlSchemaAttribute attr = attrib.Name != null ? attrib : (XmlSchemaAttribute) attributes[attrib.RefName];
System.Runtime.Serialization (6)
System\Runtime\Serialization\SchemaExporter.cs (1)
479SchemaHelper.AddSchemaImport(ISerializableFactoryTypeAttribute.RefName.Namespace, schema);
System\Runtime\Serialization\SchemaImporter.cs (5)
889XmlQualifiedName factoryTypeAttributeRefName = SchemaExporter.ISerializableFactoryTypeAttribute.RefName; 898if (((XmlSchemaAttribute)o).RefName == factoryTypeAttributeRefName) 1399if (attribute.RefName.IsEmpty || attribute.RefName.Namespace != Globals.SerializationNamespace || attribute.Use == XmlSchemaUse.Required) 1409if (attribute.RefName != refName)
System.Web.Services (2)
System\Web\Services\Description\SchemaCompiler.cs (1)
119return Res.GetString(Res.XmlSchemaAttributeReference, a.RefName.ToString(), parentName.Name, parentName.Namespace);
System\Web\Services\Description\ServiceDescriptionSerializer.cs (1)
3265WriteAttribute(@"ref", @"", FromXmlQualifiedName(((global::System.Xml.XmlQualifiedName)o.@RefName)));
System.Xml (39)
System\Xml\Schema\Inference\Infer.cs (5)
1377if (schemaAttribute.RefName.Name == attributeName && schemaAttribute.RefName.Namespace == nsURI) { 1421if (attr.RefName.Name.Length == 0) { //If the attribute is not present in this instance, make it optional 1427if (null == FindAttributeRef(attributesInInstance, attr.RefName.Name, attr.RefName.Namespace)) {
System\Xml\Schema\Preprocessor.cs (4)
1002if (attribute.RefName.IsEmpty) { 1006ValidateQNameAttribute(attribute, "ref", attribute.RefName); 1016attribute.SetQualifiedName(attribute.RefName); 1028if (!attribute.RefName.IsEmpty) {
System\Xml\Schema\SchemaCollectionCompiler.cs (6)
1637if (!xa.RefName.IsEmpty) { 1638XmlSchemaAttribute a = (XmlSchemaAttribute)this.schema.Attributes[xa.RefName]; 1640throw new XmlSchemaException(Res.Sch_UndeclaredAttribute, xa.RefName.ToString(), xa); 1644throw new XmlSchemaException(Res.Sch_RefInvalidAttribute, xa.RefName.ToString(), xa); 1650throw new XmlSchemaException(Res.Sch_FixedDefaultInRef, xa.RefName.ToString(), xa); 1654throw new XmlSchemaException(Res.Sch_FixedInRef, xa.RefName.ToString(), xa);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (4)
694if (attribute.RefName.IsEmpty) { 698ValidateQNameAttribute(attribute, "ref", attribute.RefName); 708attribute.SetQualifiedName(attribute.RefName); 718if (!attribute.RefName.IsEmpty) {
System\Xml\Schema\SchemaSetCompiler.cs (6)
1973if (!xa.RefName.IsEmpty) { 1974XmlSchemaAttribute a = (XmlSchemaAttribute)attributes[xa.RefName]; 1976throw new XmlSchemaException(Res.Sch_UndeclaredAttribute, xa.RefName.ToString(), xa); 1980throw new XmlSchemaException(Res.Sch_RefInvalidAttribute, xa.RefName.ToString(), xa); 1991throw new XmlSchemaException(Res.Sch_FixedDefaultInRef, xa.RefName.ToString(), xa); 1996throw new XmlSchemaException(Res.Sch_FixedInRef, xa.RefName.ToString(), xa);
System\Xml\Schema\XmlSchemaComplexType.cs (2)
449if (!att.RefName.IsEmpty || !att.SchemaTypeName.IsEmpty) { 555if (!attribute.RefName.IsEmpty || !attribute.SchemaTypeName.IsEmpty) {
System\Xml\Serialization\ImportContext.cs (2)
421if (!at.RefName.IsEmpty) { 422at = (XmlSchemaAttribute)schemas.Find(at.RefName, typeof(XmlSchemaAttribute), false);
System\Xml\Serialization\SchemaObjectWriter.cs (2)
265if (!o.RefName.IsEmpty) { 266WriteAttribute("ref", "", o.RefName);
System\Xml\Serialization\SoapSchemaImporter.cs (2)
430if (attribute != null && attribute.RefName.Name == Soap.ArrayType && attribute.RefName.Namespace == Soap.Encoding) {
System\Xml\Serialization\XmlSchemaImporter.cs (5)
1488if (!attribute.RefName.IsEmpty) { 1489if (attribute.RefName.Namespace == XmlReservedNs.NsXml) 1490return ImportSpecialAttribute(attribute.RefName, identifier); 1492return ImportAttribute(FindAttribute(attribute.RefName), identifier, attribute.RefName.Namespace, defaultValueProvider);
System\Xml\Serialization\XmlSchemas.cs (1)
537return Res.GetString(Res.XmlSchemaAttributeReference, a.RefName.ToString(), parentName.Name, parentName.Namespace);
System.Xml.Linq (1)
System\Xml\Linq\XNodeValidator.cs (1)
105XmlQualifiedName name = sa.RefName;