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)
117if (attributes.Ref != Globals.NewObjectId) 125retObj = GetExistingObject(attributes.Ref, declaredType, name, ns); 298if (attributes.Ref != Globals.NewObjectId) 302return attributes.Ref; 567if (attributes.Ref != Globals.NewObjectId) 570value = GetExistingObject(attributes.Ref, null, name, string.Empty); 617if (attributes.Ref != Globals.NewObjectId) 620object o = GetExistingObjectOrExtensionData(attributes.Ref); 622dataNode.Id = attributes.Ref;