2 writes to Ref
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\Attributes.cs (2)
89Ref = Globals.NewObjectId; 114Ref = reader.ReadContentAsString();
13 references to Ref
System.Private.DataContractSerialization (13)
System\Runtime\Serialization\Attributes.cs (2)
115if (string.IsNullOrEmpty(Ref)) 117throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.InvalidXsRefDefinition, Ref));
System\Runtime\Serialization\PrimitiveDataContract.cs (2)
114if (attributes.Ref != Globals.NewObjectId) 115throw XmlObjectSerializer.CreateSerializationException(SR.Format(SR.CannotDeserializeRefAtTopLevel, attributes.Ref));
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (9)
115if (attributes.Ref != Globals.NewObjectId) 123retObj = GetExistingObject(attributes.Ref, declaredType, name, ns); 296if (attributes.Ref != Globals.NewObjectId) 300return attributes.Ref; 565if (attributes.Ref != Globals.NewObjectId) 568value = GetExistingObject(attributes.Ref, null, name, string.Empty); 615if (attributes.Ref != Globals.NewObjectId) 618object o = GetExistingObjectOrExtensionData(attributes.Ref); 620dataNode.Id = attributes.Ref;