3 overrides of CanContainReferences
System.Runtime.Serialization (3)
System\Runtime\Serialization\EnumDataContract.cs (1)
126
internal override bool
CanContainReferences
System\Runtime\Serialization\PrimitiveDataContract.cs (1)
53
internal override bool
CanContainReferences
System\Runtime\Serialization\XmlDataContract.cs (1)
162
internal override bool
CanContainReferences
6 references to CanContainReferences
System.Runtime.Serialization (6)
System\Runtime\Serialization\DataContractSerializer.cs (2)
384
if (contract.
CanContainReferences
)
403
if (contract.
CanContainReferences
)
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (2)
472
if (contract.
CanContainReferences
)
487
if (contract.
CanContainReferences
)
System\Runtime\Serialization\NetDataContractSerializer.cs (1)
261
if (contract.
CanContainReferences
)
System\Runtime\Serialization\XmlObjectSerializer.cs (1)
222
if (contract.IsBuiltInDataContract || !contract.
CanContainReferences
|| contract.IsISerializable)