24 references to Key
dotnet-svcutil-lib (24)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Compilation.cs (13)
85
method.methodKey = xmlMappings[i].
Key
;
92
_methods.Add(xmlMappings[i].
Key
, method);
136
TempMethod method = _methods[mapping.
Key
];
171
encodingStyle = ValidateEncodingStyle(encodingStyle, mapping.
Key
);
174
if (_methods[mapping.
Key
].readMethod == null)
180
string methodName = (string)_readerMethods[mapping.
Key
];
185
_methods[mapping.
Key
].readMethod = GetMethodFromType(reader.GetType(), methodName, _pregeneratedAssmbly ? _assembly : null);
187
return _methods[mapping.
Key
].readMethod.Invoke(reader, s_emptyObjectArray);
205
encodingStyle = ValidateEncodingStyle(encodingStyle, mapping.
Key
);
208
if (_methods[mapping.
Key
].writeMethod == null)
214
string methodName = (string)_writerMethods[mapping.
Key
];
219
_methods[mapping.
Key
].writeMethod = GetMethodFromType(writer.GetType(), methodName, _pregeneratedAssmbly ? _assembly : null);
221
_methods[mapping.
Key
].writeMethod.Invoke(writer, new object[] { o });
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationGeneratedCode.cs (1)
170
WriteQuotedCSharpString(xmlMappings[i].
Key
);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationILGen.cs (2)
216
ilg.Ldstr(xmlMappings[i].
Key
);
459
ConstructorInfo ctor = CreatedTypes[(string)serializers[xmlMappings[i].
Key
]].GetConstructor(CodeGenerator.EmptyTypeArray);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializer.cs (7)
562
serializers[i] = (XmlSerializer)contract.TypedSerializers[mappings[i].
Key
];
579
serializers[i] = (XmlSerializer)contract.TypedSerializers[mappings[i].
Key
];
627
serializers[index] = (XmlSerializer)contract.TypedSerializers[mappingKey.Mapping.
Key
];
934
if (this.Mapping.
Key
!= other.Mapping.
Key
)
953
if (this.Mapping.
Key
!= null)
954
hashCode ^= this.Mapping.
Key
.GetHashCode();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializerFactory.cs (1)
73
return (XmlSerializer)tempAssembly.Contract.TypedSerializers[xmlTypeMapping.
Key
];