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