2 writes to attributes
dotnet-svcutil-lib (2)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (2)
99
this.
attributes
= new Attributes();
358
attributes
= new Attributes();
30 references to attributes
dotnet-svcutil-lib (30)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (23)
130
if (
attributes
.Ref != Globals.NewObjectId)
138
retObj = GetExistingObject(
attributes
.Ref, declaredType, name, ns);
143
else if (
attributes
.XsiNil)
164
if (
attributes
.XsiTypeName != null)
166
dataContract = ResolveDataContractFromKnownTypes(
attributes
.XsiTypeName,
attributes
.XsiTypeNamespace, dataContract);
171
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(XmlObjectSerializer.TryAddLineInfo(reader, string.Format(SRSerialization.DcTypeNotFoundOnDeserialize,
attributes
.XsiTypeNamespace,
attributes
.XsiTypeName, reader.NamespaceURI, reader.LocalName))));
173
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(XmlObjectSerializer.TryAddLineInfo(reader, string.Format(SRSerialization.DcTypeNotResolvedOnDeserialize,
attributes
.XsiTypeNamespace,
attributes
.XsiTypeName, reader.NamespaceURI, reader.LocalName))));
336
if (
attributes
.Ref != Globals.NewObjectId)
340
return
attributes
.Ref;
342
else if (
attributes
.XsiNil)
357
if (
attributes
== null)
359
attributes
.Read(xmlReader);
368
if (
attributes
!= null)
369
attributes
.Reset();
378
return
attributes
.Id;
396
AddNewObjectWithId(
attributes
.Id, obj);
563
return (
attributes
.XsiTypeName == null) ? null : ResolveDataContractFromKnownTypes(
attributes
.XsiTypeName,
attributes
.XsiTypeNamespace, null /*memberTypeContract*/);
598
return (
attributes
.ArraySZSize != -1);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerReadContextComplex.cs (7)
89
string assemblyName =
attributes
.ClrAssembly;
90
string typeName =
attributes
.ClrType;
161
if (
attributes
.ClrAssembly != null &&
attributes
.ClrType != null)
165
return ResolveDataContractInSharedTypeMode(
attributes
.ClrAssembly,
attributes
.ClrType, out assembly, out type);
214
return _preserveObjectReferences ?
attributes
.ArraySZSize : -1;