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

◆ KnownDataContracts

override Dictionary<XmlQualifiedName, DataContract> System.Runtime.Serialization.XmlDataContract.XmlDataContractCriticalHelper.KnownDataContracts
getsetpackage

Definition at line 35 of file XmlDataContract.cs.

36 {
37 [RequiresUnreferencedCode("Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
38 get
39 {
40 if (!_isKnownTypeAttributeChecked && base.UnderlyingType != null)
41 {
42 lock (this)
43 {
45 {
46 _knownDataContracts = DataContract.ImportKnownTypeAttributes(base.UnderlyingType);
49 }
50 }
51 }
53 }
54 set
55 {
57 }
58 }
DataContract(DataContractCriticalHelper helper)