Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
InitializeIsSupported()
static
bool
Internal.Runtime.InteropServices.ComponentActivator.InitializeIsSupported
(
)
inline
static
private
Definition at line
21
of file
ComponentActivator.cs
.
22
{
23
if
(!
AppContext
.
TryGetSwitch
(
"System.Runtime.InteropServices.EnableConsumingManagedCodeFromNativeHosting"
,
out
var
isEnabled
))
24
{
25
return
true
;
26
}
27
return
isEnabled
;
28
}
System.AppContext.TryGetSwitch
static bool TryGetSwitch(string switchName, out bool isEnabled)
Definition
AppContext.cs:74
System.AppContext
Definition
AppContext.cs:14
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
References
System.AppContext.TryGetSwitch()
.
Internal
Runtime
InteropServices
ComponentActivator
Generated by
1.10.0