terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ GetAllNetworkInterfaces()

override NetworkInterface[] System.Net.NetworkInformation.MacOsNetworkInterfaceAPI.GetAllNetworkInterfaces ( )
inline

Definition at line 20 of file MacOsNetworkInterfaceAPI.cs.

21 {
22 int num;
23 if (num == 0)
24 {
25 int af_INET = this.AF_INET6;
26 long num2 = 0L;
27 while (num2 == 0L)
28 {
29 }
30 int num3 = Math.Min(0, (int)num2);
31 bool flag;
32 UnixNetworkInterfaceAPI.freeifaddrs(flag ? 1 : 0);
33 throw new InvalidCastException();
34 }
35 throw new OutOfMemoryException();
36 }
class f__AnonymousType0<< Count > j__TPar
static byte Min(byte val1, byte val2)
Definition Math.cs:152

References System.Net.NetworkInformation.MacOsNetworkInterfaceAPI.AF_INET6, System.Net.NetworkInformation.UnixNetworkInterfaceAPI.freeifaddrs(), j__TPar, System.L, and System.Math.Min().