1 write to _hasDataContract
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\ClassDataContract.cs (1)
1039return 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); 1237internal bool HasDataContract => _hasDataContract;