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