11 writes to RefName
dotnet-svcutil-lib (11)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (2)
330attributeReference.RefName = new XmlQualifiedName(localName, childURI); 389attributeReference.RefName = new XmlQualifiedName(localName, childURI);
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (3)
476langRef.RefName = new XmlQualifiedName("lang", XmlReservedNs.NsXml); 479spaceRef.RefName = new XmlQualifiedName("space", XmlReservedNs.NsXml); 482baseRef.RefName = new XmlQualifiedName("base", XmlReservedNs.NsXml);
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (1)
1288builder._attribute.RefName = builder.ParseQName(value, "ref");
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (1)
254attr.RefName = s_arrayTypeQName;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (2)
735attribute.RefName = new XmlQualifiedName(accessor.Name, XmlReservedNs.NsXml); 797refAttribute.RefName = new XmlQualifiedName(accessor.Name, accessor.Namespace);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaExporter.cs (1)
314iSerializableFactoryTypeAttribute.RefName = new XmlQualifiedName(Globals.ISerializableFactoryTypeLocalName, Globals.SerializationNamespace);
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (1)
9181o.@RefName = ToXmlQualifiedName(Reader.Value);
45 references to RefName
dotnet-svcutil-lib (45)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (5)
1391if (schemaAttribute.RefName.Name == attributeName && schemaAttribute.RefName.Namespace == nsURI) 1442if (attr.RefName.Name.Length == 0) 1451if (null == FindAttributeRef(attributesInInstance, attr.RefName.Name, attr.RefName.Namespace))
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (4)
1214if (attribute.RefName.IsEmpty) 1220ValidateQNameAttribute(attribute, "ref", attribute.RefName); 1231attribute.SetQualifiedName(attribute.RefName); 1245if (!attribute.RefName.IsEmpty)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (6)
2065if (!xa.RefName.IsEmpty) 2067XmlSchemaAttribute a = (XmlSchemaAttribute)_schema.Attributes[xa.RefName]; 2070throw new XmlSchemaException(ResXml.Sch_UndeclaredAttribute, xa.RefName.ToString(), xa); 2075throw new XmlSchemaException(ResXml.Sch_RefInvalidAttribute, xa.RefName.ToString(), xa); 2084throw new XmlSchemaException(ResXml.Sch_FixedDefaultInRef, xa.RefName.ToString(), xa); 2090throw new XmlSchemaException(ResXml.Sch_FixedInRef, xa.RefName.ToString(), xa);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (4)
863if (attribute.RefName.IsEmpty) 869ValidateQNameAttribute(attribute, "ref", attribute.RefName); 880attribute.SetQualifiedName(attribute.RefName); 892if (!attribute.RefName.IsEmpty)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (6)
2483if (!xa.RefName.IsEmpty) 2485XmlSchemaAttribute a = (XmlSchemaAttribute)_attributes[xa.RefName]; 2488throw new XmlSchemaException(ResXml.Sch_UndeclaredAttribute, xa.RefName.ToString(), xa); 2493throw new XmlSchemaException(ResXml.Sch_RefInvalidAttribute, xa.RefName.ToString(), xa); 2508throw new XmlSchemaException(ResXml.Sch_FixedDefaultInRef, xa.RefName.ToString(), xa); 2515throw new XmlSchemaException(ResXml.Sch_FixedInRef, xa.RefName.ToString(), xa);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexType.cs (2)
520if (!att.RefName.IsEmpty || !att.SchemaTypeName.IsEmpty) 649if (!attribute.RefName.IsEmpty || !attribute.SchemaTypeName.IsEmpty)
FrameworkFork\Microsoft.Xml\Xml\Serialization\ImportContext.cs (2)
505if (!at.RefName.IsEmpty) 507at = (XmlSchemaAttribute)_schemas.Find(at.RefName, typeof(XmlSchemaAttribute), false);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaObjectWriter.cs (2)
319if (!o.RefName.IsEmpty) 321WriteAttribute("ref", "", o.RefName);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (2)
480if (attribute != null && attribute.RefName.Name == Soap.ArrayType && attribute.RefName.Namespace == Soap.Encoding)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (5)
1705if (!attribute.RefName.IsEmpty) 1707if (attribute.RefName.Namespace == XmlReservedNs.NsXml) 1708return ImportSpecialAttribute(attribute.RefName, identifier); 1710return ImportAttribute(FindAttribute(attribute.RefName), identifier, attribute.RefName.Namespace, defaultValueProvider);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (1)
652return string.Format(ResXml.XmlSchemaAttributeReference, a.RefName.ToString(), parentName.Name, parentName.Namespace);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (5)
883XmlQualifiedName factoryTypeAttributeRefName = SchemaExporter.ISerializableFactoryTypeAttribute.RefName; 892if (((XmlSchemaAttribute)o).RefName == factoryTypeAttributeRefName) 1394if (attribute.RefName.IsEmpty || attribute.RefName.Namespace != Globals.SerializationNamespace || attribute.Use == XmlSchemaUse.Required) 1404if (attribute.RefName != refName)
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (1)
4125WriteAttribute(@"ref", @"", FromXmlQualifiedName(((Microsoft.Xml.XmlQualifiedName)o.@RefName)));