1 override of IsPrimitive
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\PrimitiveDataContract.cs (1)
58
internal override bool
IsPrimitive
=> true;
4 references to IsPrimitive
System.Private.DataContractSerialization (4)
System\Runtime\Serialization\DataContract.cs (1)
276
if (object.ReferenceEquals(ns, DictionaryGlobals.SerializationNamespace) && !
IsPrimitive
)
System\Runtime\Serialization\DataContractSerializer.cs (1)
491
if (contract.
IsPrimitive
&& object.ReferenceEquals(contract.UnderlyingType, _rootType) /*handle Nullable<T> differently*/)
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (1)
462
if (contract.
IsPrimitive
&& object.ReferenceEquals(contract.UnderlyingType, _rootType))// handle Nullable<T> differently
System\Runtime\Serialization\Json\JsonDataContract.cs (1)
244
else if (traditionalDataContract.
IsPrimitive
||