5 types derived from Accessor
System.Xml (5)
System\Xml\Serialization\Mappings.cs (5)
122
internal class ElementAccessor :
Accessor
{
158
internal class ChoiceIdentifierAccessor :
Accessor
{
179
internal class TextAccessor :
Accessor
{
182
internal class XmlnsAccessor :
Accessor
{
185
internal class AttributeAccessor :
Accessor
{
53 references to Accessor
System.Xml (53)
System\Xml\Serialization\CodeExporter.cs (1)
158
internal abstract void EnsureTypesExported(
Accessor
[] accessors, string ns);
System\Xml\Serialization\Mappings.cs (5)
646
Accessor
a1 = (
Accessor
)o1;
647
Accessor
a2 = (
Accessor
)o2;
691
internal
Accessor
Accessor {
System\Xml\Serialization\SoapCodeExporter.cs (3)
114
AddTypeMetadata(codeClass.CustomAttributes, typeof(SoapTypeAttribute), mapping.TypeDesc.Name,
Accessor
.UnescapeName(mapping.TypeName), mapping.Namespace, mapping.IncludeInSchema);
211
string elemName =
Accessor
.UnescapeName(element.Name);
263
internal override void EnsureTypesExported(
Accessor
[] accessors, string ns) {
System\Xml\Serialization\SoapReflectionImporter.cs (1)
649
attribute.Name =
Accessor
.EscapeQName(a.SoapAttribute == null || a.SoapAttribute.AttributeName.Length == 0 ? accessorName : a.SoapAttribute.AttributeName);
System\Xml\Serialization\SoapSchemaImporter.cs (3)
293
string typeName = GenerateUniqueTypeName(
Accessor
.UnescapeName(type.Name));
497
member.Name = CodeIdentifier.MakeValid(
Accessor
.UnescapeName(accessor.Name));
555
identifier =
Accessor
.UnescapeName(identifier);
System\Xml\Serialization\XmlCodeExporter.cs (14)
86
ExportType(mapping.Attribute.Mapping,
Accessor
.UnescapeName(mapping.Attribute.Name), mapping.Attribute.Namespace, null, false);
91
ExportType(element.Mapping,
Accessor
.UnescapeName(element.Name), element.Namespace, null, false);
95
ExportType(mapping.Text.Mapping,
Accessor
.UnescapeName(mapping.Text.Name), mapping.Text.Namespace, null, false);
102
ExportType(element.Mapping,
Accessor
.UnescapeName(element.Name), element.Namespace, element, true);
150
AddTypeMetadata(codeClass.CustomAttributes, typeof(XmlTypeAttribute), mapping.TypeDesc.Name,
Accessor
.UnescapeName(mapping.TypeName), mapping.Namespace, mapping.IncludeInSchema);
373
void AddDefaultValueAttribute(CodeMemberField field, CodeAttributeDeclarationCollection metadata, object defaultValue, TypeMapping mapping, CodeCommentStatementCollection comments, TypeDesc memberTypeDesc,
Accessor
accessor, CodeConstructor ctor) {
482
static void DropDefaultAttribute(
Accessor
accessor, CodeCommentStatementCollection comments, string type) {
577
AddRootMetadata(metadata, mapping.Mapping,
Accessor
.UnescapeName(mapping.Accessor.Name), mapping.Accessor.Namespace, mapping.Accessor);
600
string elementName =
Accessor
.UnescapeName(arrayElement.Name);
624
string attrName =
Accessor
.UnescapeName(attribute.Name);
650
string elemName =
Accessor
.UnescapeName(element.Name);
682
string elemName =
Accessor
.UnescapeName(element.Name);
833
internal override void EnsureTypesExported(
Accessor
[] accessors, string ns) {
839
void EnsureTypesExported(
Accessor
accessor, string ns) {
System\Xml\Serialization\XmlMapping.cs (1)
57
get { return System.Xml.Serialization.
Accessor
.UnescapeName(Accessor.Name); }
System\Xml\Serialization\XmlMemberMapping.cs (2)
28
internal
Accessor
Accessor {
42
get { return
Accessor
.UnescapeName(Accessor.Name); }
System\Xml\Serialization\XmlReflectionImporter.cs (9)
277
Accessor
ReconcileAccessor(
Accessor
accessor, NameTable accessors) {
281
Accessor
existing = (
Accessor
)accessors[accessor.Name, accessor.Namespace];
1382
attribute.Name =
Accessor
.EscapeQName(a.XmlAttribute.AttributeName.Length == 0 ? accessorName : a.XmlAttribute.AttributeName);
1544
attribute.Name =
Accessor
.EscapeQName(a.XmlAttribute.AttributeName.Length == 0 ? accessorName : a.XmlAttribute.AttributeName);
1893
static void AddUniqueAccessor(INameScope scope,
Accessor
accessor) {
1894
Accessor
existing = (
Accessor
)scope[accessor.Name, accessor.Namespace];
System\Xml\Serialization\XmlSchemaImporter.cs (12)
238
member.Name = CodeIdentifier.MakeValid(
Accessor
.UnescapeName(accessor.Name));
266
accessor.Name =
Accessor
.EscapeName(name);
304
string unescapedName =
Accessor
.UnescapeName(element.Name);
579
identifier =
Accessor
.UnescapeName(identifier);
623
identifier =
Accessor
.UnescapeName(identifier);
1042
identifier = CodeIdentifier.MakeValid(
Accessor
.UnescapeName(element.Name));
1044
identifier += CodeIdentifier.MakePascal(
Accessor
.UnescapeName(element.Name));
1252
string refElementIdentifier = CodeIdentifier.MakeValid(
Accessor
.UnescapeName(refElement.Name));
1333
string name = CodeIdentifier.MakeValid(
Accessor
.UnescapeName(accessor.Name));
1374
member.Name = CodeIdentifier.MakeValid(
Accessor
.UnescapeName(accessor.Name));
1603
identifier =
Accessor
.UnescapeName(identifier);
1654
typeName = GenerateUniqueTypeName(
Accessor
.UnescapeName(typeName), typeNs);
System\Xml\Serialization\XmlSerializationGeneratedCode.cs (1)
250
string serializerName = CodeIdentifier.MakeValid(
Accessor
.UnescapeName(mapping.Accessor.Mapping.TypeDesc.Name));
System\Xml\Serialization\XmlSerializationILGen.cs (1)
296
string serializerName = CodeIdentifier.MakeValid(
Accessor
.UnescapeName(mapping.Accessor.Mapping.TypeDesc.Name));