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

◆ IsSubsetOf() [1/2]

bool System.Net.EndpointPermission.IsSubsetOf ( EndpointPermission perm)
inlinepackage

Definition at line 90 of file EndpointPermission.cs.

91 {
92 if (perm == null)
93 {
94 return;
95 }
96 int num = perm.port;
97 int num2 = this.port;
98 TransportType transportType = perm.transport;
99 TransportType transportType2 = this.transport;
100 this.Resolve();
101 perm.Resolve();
102 if (this.hasWildcard)
103 {
104 if (perm.hasWildcard)
105 {
106 string text = this.hostname;
107 string text2 = perm.hostname;
108 return this.IsSubsetOf(text, text2);
109 }
110 return;
111 }
112 else
113 {
114 IPAddress[] array = this.addresses;
115 if (array == null)
116 {
117 return;
118 }
119 if (perm.hasWildcard)
120 {
121 ushort[] numbers = array._numbers;
122 string text3 = perm.hostname;
123 }
124 IPAddress[] array2 = perm.addresses;
125 if (array2 != null)
126 {
127 ushort[] numbers2 = array2._numbers;
128 string text4 = this.hostname;
129 return;
130 }
131 return;
132 }
133 }
class f__AnonymousType0<< Count > j__TPar
bool IsSubsetOf(EndpointPermission perm)
readonly ushort[] _numbers
Definition IPAddress.cs:749

References System.Net.IPAddress._numbers, System.Net.EndpointPermission.addresses, System.array, System.Net.EndpointPermission.hasWildcard, System.Net.EndpointPermission.hostname, System.Net.EndpointPermission.IsSubsetOf(), j__TPar, System.Net.EndpointPermission.port, System.Net.EndpointPermission.Resolve(), System.text, and System.Net.EndpointPermission.transport.

Referenced by System.Net.EndpointPermission.IsSubsetOf().