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

◆ InitializeIsSupported()

static bool Internal.Runtime.InteropServices.InMemoryAssemblyLoader.InitializeIsSupported ( )
inlinestaticprivate

Definition at line 12 of file InMemoryAssemblyLoader.cs.

13 {
14 if (!AppContext.TryGetSwitch("System.Runtime.InteropServices.EnableCppCLIHostActivation", out var isEnabled))
15 {
16 return true;
17 }
18 return isEnabled;
19 }
static bool TryGetSwitch(string switchName, out bool isEnabled)
Definition AppContext.cs:74

References System.AppContext.TryGetSwitch().