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