1 write to _hasDataContract
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\ClassDataContract.cs (1)
1039
return DataContract.GetXmlName(type, out
_hasDataContract
);
2 references to _hasDataContract
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\ClassDataContract.cs (2)
1054
_isNonAttributedType = !type.IsSerializable && !
_hasDataContract
&& IsNonAttributedTypeValidForSerialization(type);
1237
internal bool HasDataContract =>
_hasDataContract
;