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

◆ IsSupported()

static bool System.Runtime.CompilerServices.RuntimeFeature.IsSupported ( string feature)
inlinestatic

Definition at line 22 of file RuntimeFeature.cs.

23 {
24 switch (feature)
25 {
26 case "PortablePdb":
27 case "CovariantReturnsOfClasses":
28 case "UnmanagedSignatureCallingConvention":
29 case "DefaultImplementationsOfInterfaces":
30 case "VirtualStaticsInInterfaces":
31 return true;
32 case "IsDynamicCodeSupported":
34 case "IsDynamicCodeCompiled":
36 default:
37 return false;
38 }
39 }

References System.Runtime.CompilerServices.RuntimeFeature.IsDynamicCodeCompiled, and System.Runtime.CompilerServices.RuntimeFeature.IsDynamicCodeSupported.