Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ KnownDataContracts

override Dictionary<XmlQualifiedName, DataContract> System.Runtime.Serialization.CollectionDataContract.CollectionDataContractCriticalHelper.KnownDataContracts
getsetpackage

Definition at line 239 of file CollectionDataContract.cs.

240 {
241 [RequiresUnreferencedCode("Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
242 get
243 {
244 if (!_isKnownTypeAttributeChecked && base.UnderlyingType != null)
245 {
246 lock (this)
247 {
249 {
250 _knownDataContracts = DataContract.ImportKnownTypeAttributes(base.UnderlyingType);
253 }
254 }
255 }
256 return _knownDataContracts;
257 }
258 set
259 {
261 }
262 }
DataContract(DataContractCriticalHelper helper)