3 overrides of CanContainReferences
System.Private.DataContractSerialization (3)
System\Runtime\Serialization\EnumDataContract.cs (1)
74
internal override bool
CanContainReferences
=> false;
System\Runtime\Serialization\PrimitiveDataContract.cs (1)
56
internal override bool
CanContainReferences
=> false;
System\Runtime\Serialization\XmlDataContract.cs (1)
119
internal override bool
CanContainReferences
=> false;
5 references to CanContainReferences
System.Private.DataContractSerialization (5)
System\Runtime\Serialization\DataContractSerializer.cs (2)
393
if (contract.
CanContainReferences
)
412
if (contract.
CanContainReferences
)
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (2)
513
if (contract.
CanContainReferences
)
528
if (contract.
CanContainReferences
)
System\Runtime\Serialization\XmlObjectSerializer.cs (1)
245
if (contract.IsBuiltInDataContract || !contract.
CanContainReferences
|| contract.IsISerializable)