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

◆ CanReuseConnection()

bool System.Net.WebConnection.CanReuseConnection ( WebOperation operation)
inlinepackage

Definition at line 173 of file WebConnection.cs.

174 {
175 WebOperation webOperation;
176 if (this.disposed == 0)
177 {
178 webOperation = this.currentOperation;
179 if (webOperation == null)
180 {
181 goto IL_0022;
182 }
183 }
184 long num = 0L;
185 if (webOperation != null)
186 {
187 Monitor.Exit(this);
188 }
189 if (num != 0L)
190 {
191 throw new OutOfMemoryException();
192 }
193 IL_0022:
194 HttpWebRequest <Request>k__BackingField;
195 NetworkCredential networkCredential;
196 if (this.ntlm_authenticated)
197 {
198 <Request>k__BackingField = operation.<Request>k__BackingField;
200 if (<Request>k__BackingField != null)
201 {
202 }
203 }
204 while (<Request>k__BackingField == null)
205 {
206 }
207 while (networkCredential == null)
208 {
209 }
210 while (<Request>k__BackingField == null)
211 {
212 }
213 string text;
214 bool flag = networkCredential.Domain != text;
215 string userName = networkCredential.UserName;
216 string text2;
217 bool flag2 = text2 != text2;
218 string text3;
220 bool unsafe_auth_blah = <Request>k__BackingField.unsafe_auth_blah;
221 bool flag4 = this.unsafe_sharing;
222 return flag3;
223 }
class f__AnonymousType0<< Count > j__TPar
NetworkCredential ntlm_credentials
readonly ServicePoint< ServicePoint > k__BackingField
static void Exit(object obj)
Definition Monitor.cs:47

References System.Net.WebConnection.currentOperation, System.Net.WebConnection.disposed, System.Threading.Monitor.Exit(), j__TPar, System.Net.WebConnection.k__BackingField, System.L, System.Net.WebConnection.ntlm_authenticated, System.Net.WebConnection.ntlm_credentials, System.text, System.Net.WebConnection.unsafe_sharing, and System.Net.NetworkCredential.UserName.