4 writes to IsReference
System.Private.DataContractSerialization (4)
System\Runtime\Serialization\ClassDataContract.cs (1)
1370boundClassContract.IsReference = IsReference;
System\Runtime\Serialization\SchemaImporter.cs (3)
660dataContract.IsReference = isReference; 674dataContract.IsReference = true; 1055dataContract.IsReference = isReference;
18 references to IsReference
System.Private.DataContractSerialization (14)
System\Runtime\Serialization\ClassDataContract.cs (4)
753bool baseIsReference = BaseClassContract.IsReference; 762BaseClassContract.IsReference), 772isReference = BaseClassContract.IsReference; 1370boundClassContract.IsReference = IsReference;
System\Runtime\Serialization\DataContract.cs (2)
2079return (XmlName.Name == dataContract.XmlName.Name && XmlName.Namespace == dataContract.XmlName.Namespace && IsReference == dataContract.IsReference);
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (2)
631if (dataContract.IsReference) 636dataContract.IsReference));
System\Runtime\Serialization\SchemaExporter.cs (4)
160if (classDataContract.IsReference && !classDataContract.BaseClassContract.IsReference) 170if (classDataContract.IsReference) 410if (collectionDataContract.IsReference)
System\Runtime\Serialization\SchemaImporter.cs (1)
672if (dataContract.BaseClassContract.IsReference)
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (1)
209if (preserveObjectReferences || !contract.IsReference || _isGetOnlyCollection)
System.Runtime.Serialization.Schema (4)
System\Runtime\Serialization\Schema\CodeExporter.cs (4)
801if (classDataContract.IsReference != ImportGlobals.DefaultIsReference) 802dataContractAttribute.Arguments.Add(new CodeAttributeArgument(ImportGlobals.IsReferenceProperty, new CodePrimitiveExpression(classDataContract.IsReference))); 1244if (collectionContract.IsReference != ImportGlobals.DefaultIsReference) 1245collectionContractAttribute.Arguments.Add(new CodeAttributeArgument(ImportGlobals.IsReferenceProperty, new CodePrimitiveExpression(collectionContract.IsReference)));