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