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

◆ BinaryFormatterEnabled

bool System.LocalAppContextSwitches.BinaryFormatterEnabled
staticget

Definition at line 9 of file LocalAppContextSwitches.cs.

10 {
11 [MethodImpl(MethodImplOptions.AggressiveInlining)]
12 get
13 {
14 return GetCachedSwitchValue("System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization", ref s_binaryFormatterEnabled);
15 }
16 }
static bool GetCachedSwitchValue(string switchName, ref int cachedSwitchValue)

Referenced by System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(), and System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize().