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

◆ IntersectHostname()

string System.Net.EndpointPermission.IntersectHostname ( EndpointPermission perm)
inlineprivate

Definition at line 161 of file EndpointPermission.cs.

162 {
163 string text5;
164 for (;;)
165 {
166 string text = this.hostname;
167 string text2 = perm.hostname;
168 bool flag = text == text2;
169 string text3 = this.hostname;
170 this.Resolve();
171 perm.Resolve();
172 bool flag2 = this.hasWildcard;
173 if (perm.hasWildcard)
174 {
175 break;
176 }
177 IPAddress[] array = perm.addresses;
178 if (array == null)
179 {
180 return;
181 }
182 ushort[] numbers = array._numbers;
183 string toString = array._toString;
184 string text4 = this.hostname;
185 if (text5 == null)
186 {
187 goto Block_2;
188 }
189 }
190 string text6 = this.hostname;
191 string text7 = perm.hostname;
192 return perm.Intersect(text6, text7);
193 Block_2:
194 IPAddress[] array2 = perm.addresses;
195 return text5;
196 }
class f__AnonymousType0<< Count > j__TPar

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

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