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