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
SslStream.cs
Go to the documentation of this file.
1using System;
2using System.IO;
10
11namespace System.Net.Security
12{
13 // Token: 0x02000323 RID: 803
15 {
16 // Token: 0x170004B8 RID: 1208
17 // (get) Token: 0x060014BC RID: 5308 RVA: 0x0003EE34 File Offset: 0x0003D034
19 {
20 get
21 {
22 this.CheckDisposed();
23 return this.impl;
24 }
25 }
26
27 // Token: 0x170004B9 RID: 1209
28 // (get) Token: 0x060014BD RID: 5309 RVA: 0x0003EE50 File Offset: 0x0003D050
29 internal string InternalTargetHost
30 {
31 get
32 {
33 this.CheckDisposed();
34 return this.impl.<TargetHost>k__BackingField;
35 }
36 }
37
38 // Token: 0x060014BE RID: 5310 RVA: 0x0003EE70 File Offset: 0x0003D070
46
47 // Token: 0x060014BF RID: 5311 RVA: 0x0003EE8C File Offset: 0x0003D08C
51
52 // Token: 0x060014C0 RID: 5312 RVA: 0x0003EE9C File Offset: 0x0003D09C
66
67 // Token: 0x060014C1 RID: 5313 RVA: 0x0003EEF4 File Offset: 0x0003D0F4
84
85 // Token: 0x060014C2 RID: 5314 RVA: 0x0003EF48 File Offset: 0x0003D148
87 {
89 if (remoteCertificateValidationCallback != null)
90 {
91 if (callback != null)
92 {
93 bool flag = remoteCertificateValidationCallback != callback;
94 }
96 bool flag2 = this.explicitSettings;
97 MonoRemoteCertificateValidationCallback <RemoteCertificateValidationCallback>k__BackingField = monoTlsSettings.<RemoteCertificateValidationCallback>k__BackingField;
98 string text = SR.Format("The '{0}' option was already set in the SslStream constructor.", "RemoteCertificateValidationCallback");
99 }
100 }
101
102 // Token: 0x060014C3 RID: 5315 RVA: 0x0003EF94 File Offset: 0x0003D194
104 {
106 if (localCertificateSelectionCallback != null)
107 {
108 if (callback != null)
109 {
110 bool flag = localCertificateSelectionCallback != callback;
111 }
112 if (!this.explicitSettings || this.settings.<ClientCertificateSelectionCallback>k__BackingField == null)
113 {
114 return;
115 }
116 string text = SR.Format("The '{0}' option was already set in the SslStream constructor.", "LocalCertificateSelectionCallback");
117 }
118 }
119
120 // Token: 0x060014C4 RID: 5316 RVA: 0x0003EFDC File Offset: 0x0003D1DC
121 public virtual void AuthenticateAsClient(string targetHost, global::System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, global::System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation)
122 {
123 this.CheckDisposed();
124 this.impl.AuthenticateAsClient(targetHost, clientCertificates, enabledSslProtocols, checkCertificateRevocation);
125 }
126
127 // Token: 0x060014C5 RID: 5317 RVA: 0x0003F000 File Offset: 0x0003D200
128 public virtual IAsyncResult BeginAuthenticateAsClient(string targetHost, global::System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, global::System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation, AsyncCallback asyncCallback, object asyncState)
129 {
130 this.CheckDisposed();
132 }
133
134 // Token: 0x060014C6 RID: 5318 RVA: 0x0003F02C File Offset: 0x0003D22C
135 public virtual void EndAuthenticateAsClient(IAsyncResult asyncResult)
136 {
137 TaskToApm.End(asyncResult);
138 }
139
140 // Token: 0x060014C7 RID: 5319 RVA: 0x0003F040 File Offset: 0x0003D240
141 public virtual void AuthenticateAsServer(X509Certificate serverCertificate, bool clientCertificateRequired, global::System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation)
142 {
143 this.CheckDisposed();
144 this.impl.AuthenticateAsServer(serverCertificate, clientCertificateRequired, enabledSslProtocols, checkCertificateRevocation);
145 }
146
147 // Token: 0x060014C8 RID: 5320 RVA: 0x0003F064 File Offset: 0x0003D264
148 public virtual Task AuthenticateAsClientAsync(string targetHost, global::System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, global::System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation)
149 {
150 this.CheckDisposed();
151 return this.impl.AuthenticateAsClientAsync(targetHost, clientCertificates, enabledSslProtocols, checkCertificateRevocation);
152 }
153
154 // Token: 0x170004BA RID: 1210
155 // (get) Token: 0x060014C9 RID: 5321 RVA: 0x0003F088 File Offset: 0x0003D288
156 public override bool IsAuthenticated
157 {
158 get
159 {
160 /*
161An exception occurred when decompiling this method (060014C9)
162
163ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Net.Security.SslStream::get_IsAuthenticated()
164
165 ---> System.Exception: Basic block has to end with unconditional control flow.
166{
167 Block_0:
168 call:void(SslStream::CheckDisposed, ldloc:SslStream(this))
169 stloc:MobileAuthenticatedStream(var_0_0C, ldfld:MobileAuthenticatedStream(SslStream::impl, ldloc:SslStream(this)))
170}
171
172 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
173 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
174 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
175 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
176 --- End of inner exception stack trace ---
177 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
178 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
179*/;
180 }
181 }
182
183 // Token: 0x170004BB RID: 1211
184 // (get) Token: 0x060014CA RID: 5322 RVA: 0x0003F0A4 File Offset: 0x0003D2A4
186 {
187 get
188 {
189 this.CheckDisposed();
190 return this.impl.LocalCertificate;
191 }
192 }
193
194 // Token: 0x170004BC RID: 1212
195 // (get) Token: 0x060014CB RID: 5323 RVA: 0x0003F0C4 File Offset: 0x0003D2C4
196 public override bool CanSeek
197 {
198 get
199 {
200 }
201 }
202
203 // Token: 0x170004BD RID: 1213
204 // (get) Token: 0x060014CC RID: 5324 RVA: 0x0003F0D4 File Offset: 0x0003D2D4
205 public override bool CanRead
206 {
207 get
208 {
209 /*
210An exception occurred when decompiling this method (060014CC)
211
212ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Net.Security.SslStream::get_CanRead()
213
214 ---> System.Exception: Basic block has to end with unconditional control flow.
215{
216 IL_0000:
217 brtrue(IL_0000, logicnot:bool(ldfld:MobileAuthenticatedStream[exp:bool](SslStream::impl, ldloc:SslStream(this))))
218}
219
220 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
221 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
222 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
223 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
224 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
225 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
226 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
227 --- End of inner exception stack trace ---
228 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
229 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
230*/;
231 }
232 }
233
234 // Token: 0x170004BE RID: 1214
235 // (get) Token: 0x060014CD RID: 5325 RVA: 0x0003F0E8 File Offset: 0x0003D2E8
236 public override bool CanTimeout
237 {
238 get
239 {
240 /*
241An exception occurred when decompiling this method (060014CD)
242
243ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Net.Security.SslStream::get_CanTimeout()
244
245 ---> System.Exception: Basic block has to end with unconditional control flow.
246{
247 Block_0:
248 stloc:Stream(var_0_06, ldfld:Stream(AuthenticatedStream::_InnerStream, ldloc:SslStream[exp:AuthenticatedStream](this)))
249}
250
251 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
252 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
253 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
254 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
255 --- End of inner exception stack trace ---
256 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
257 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
258*/;
259 }
260 }
261
262 // Token: 0x170004BF RID: 1215
263 // (get) Token: 0x060014CE RID: 5326 RVA: 0x0003F0FC File Offset: 0x0003D2FC
264 public override bool CanWrite
265 {
266 get
267 {
268 /*
269An exception occurred when decompiling this method (060014CE)
270
271ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Net.Security.SslStream::get_CanWrite()
272
273 ---> System.Exception: Basic block has to end with unconditional control flow.
274{
275 IL_0000:
276 brtrue(IL_0000, logicnot:bool(ldfld:MobileAuthenticatedStream[exp:bool](SslStream::impl, ldloc:SslStream(this))))
277}
278
279 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
280 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
281 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
282 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
283 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
284 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
285 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
286 --- End of inner exception stack trace ---
287 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
288 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
289*/;
290 }
291 }
292
293 // Token: 0x170004C0 RID: 1216
294 // (get) Token: 0x060014CF RID: 5327 RVA: 0x0003F110 File Offset: 0x0003D310
295 // (set) Token: 0x060014D0 RID: 5328 RVA: 0x0003F12C File Offset: 0x0003D32C
296 public override int ReadTimeout
297 {
298 get
299 {
300 /*
301An exception occurred when decompiling this method (060014CF)
302
303ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 System.Net.Security.SslStream::get_ReadTimeout()
304
305 ---> System.Exception: Basic block has to end with unconditional control flow.
306{
307 Block_0:
308 call:void(SslStream::CheckDisposed, ldloc:SslStream(this))
309 stloc:MobileAuthenticatedStream(var_0_0C, ldfld:MobileAuthenticatedStream(SslStream::impl, ldloc:SslStream(this)))
310}
311
312 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
313 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
314 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
315 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
316 --- End of inner exception stack trace ---
317 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
318 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
319*/;
320 }
321 set
322 {
323 this.CheckDisposed();
325 }
326 }
327
328 // Token: 0x170004C1 RID: 1217
329 // (get) Token: 0x060014D1 RID: 5329 RVA: 0x0003F148 File Offset: 0x0003D348
330 // (set) Token: 0x060014D2 RID: 5330 RVA: 0x0003F164 File Offset: 0x0003D364
331 public override int WriteTimeout
332 {
333 get
334 {
335 /*
336An exception occurred when decompiling this method (060014D1)
337
338ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 System.Net.Security.SslStream::get_WriteTimeout()
339
340 ---> System.Exception: Basic block has to end with unconditional control flow.
341{
342 Block_0:
343 call:void(SslStream::CheckDisposed, ldloc:SslStream(this))
344 stloc:MobileAuthenticatedStream(var_0_0C, ldfld:MobileAuthenticatedStream(SslStream::impl, ldloc:SslStream(this)))
345}
346
347 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
348 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
349 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
350 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
351 --- End of inner exception stack trace ---
352 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
353 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
354*/;
355 }
356 set
357 {
358 this.CheckDisposed();
360 }
361 }
362
363 // Token: 0x170004C2 RID: 1218
364 // (get) Token: 0x060014D3 RID: 5331 RVA: 0x0003F180 File Offset: 0x0003D380
365 public override long Length
366 {
367 get
368 {
369 /*
370An exception occurred when decompiling this method (060014D3)
371
372ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 System.Net.Security.SslStream::get_Length()
373
374 ---> System.Exception: Basic block has to end with unconditional control flow.
375{
376 Block_0:
377 call:void(SslStream::CheckDisposed, ldloc:SslStream(this))
378 stloc:MobileAuthenticatedStream(var_0_0C, ldfld:MobileAuthenticatedStream(SslStream::impl, ldloc:SslStream(this)))
379}
380
381 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
382 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
383 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
384 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
385 --- End of inner exception stack trace ---
386 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
387 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
388*/;
389 }
390 }
391
392 // Token: 0x170004C3 RID: 1219
393 // (get) Token: 0x060014D4 RID: 5332 RVA: 0x0003F19C File Offset: 0x0003D39C
394 // (set) Token: 0x060014D5 RID: 5333 RVA: 0x0003F1B8 File Offset: 0x0003D3B8
395 public override long Position
396 {
397 get
398 {
399 /*
400An exception occurred when decompiling this method (060014D4)
401
402ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 System.Net.Security.SslStream::get_Position()
403
404 ---> System.Exception: Basic block has to end with unconditional control flow.
405{
406 Block_0:
407 call:void(SslStream::CheckDisposed, ldloc:SslStream(this))
408 stloc:MobileAuthenticatedStream(var_0_0C, ldfld:MobileAuthenticatedStream(SslStream::impl, ldloc:SslStream(this)))
409}
410
411 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
412 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
413 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
414 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
415 --- End of inner exception stack trace ---
416 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
417 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
418*/;
419 }
420 set
421 {
422 /*
423An exception occurred when decompiling this method (060014D5)
424
425ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void System.Net.Security.SslStream::set_Position(System.Int64)
426
427 ---> System.Exception: Basic block has to end with unconditional control flow.
428{
429 Block_0:
430 stloc:string(var_0_0A, call:string(SR::GetString, ldstr:string("This stream does not support seek operations.")))
431}
432
433 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
434 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
435 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
436 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
437 --- End of inner exception stack trace ---
438 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
439 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
440*/;
441 }
442 }
443
444 // Token: 0x060014D6 RID: 5334 RVA: 0x0003F1D0 File Offset: 0x0003D3D0
445 public override void SetLength(long value)
446 {
447 this.CheckDisposed();
449 }
450
451 // Token: 0x060014D7 RID: 5335 RVA: 0x0003F1EC File Offset: 0x0003D3EC
452 public override long Seek(long offset, SeekOrigin origin)
453 {
454 /*
455An exception occurred when decompiling this method (060014D7)
456
457ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 System.Net.Security.SslStream::Seek(System.Int64,System.IO.SeekOrigin)
458
459 ---> System.Exception: Basic block has to end with unconditional control flow.
460{
461 Block_0:
462 stloc:string(var_0_0A, call:string(SR::GetString, ldstr:string("This stream does not support seek operations.")))
463}
464
465 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
466 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
467 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
468 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
469 --- End of inner exception stack trace ---
470 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
471 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
472*/;
473 }
474
475 // Token: 0x060014D8 RID: 5336 RVA: 0x0003F204 File Offset: 0x0003D404
476 public override Task FlushAsync(CancellationToken cancellationToken)
477 {
478 /*
479An exception occurred when decompiling this method (060014D8)
480
481ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Threading.Tasks.Task System.Net.Security.SslStream::FlushAsync(System.Threading.CancellationToken)
482
483 ---> System.Exception: Basic block has to end with unconditional control flow.
484{
485 Block_0:
486 stloc:Stream(var_0_06, ldfld:Stream(AuthenticatedStream::_InnerStream, ldloc:SslStream[exp:AuthenticatedStream](this)))
487}
488
489 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
490 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
491 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
492 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
493 --- End of inner exception stack trace ---
494 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
495 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
496*/;
497 }
498
499 // Token: 0x060014D9 RID: 5337 RVA: 0x0003F218 File Offset: 0x0003D418
500 public override void Flush()
501 {
502 Stream innerStream = this._InnerStream;
503 }
504
505 // Token: 0x060014DA RID: 5338 RVA: 0x0003F22C File Offset: 0x0003D42C
506 private void CheckDisposed()
507 {
508 while (this.impl == null)
509 {
510 }
511 }
512
513 // Token: 0x060014DB RID: 5339 RVA: 0x0003F244 File Offset: 0x0003D444
514 protected override void Dispose(bool disposing)
515 {
517 long num;
518 if (mobileAuthenticatedStream != null)
519 {
520 num = 0L;
522 }
523 base.Dispose(num != 0L);
524 }
525
526 // Token: 0x060014DC RID: 5340 RVA: 0x0003F28C File Offset: 0x0003D48C
527 public override int Read(byte[] buffer, int offset, int count)
528 {
529 /*
530An exception occurred when decompiling this method (060014DC)
531
532ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 System.Net.Security.SslStream::Read(System.Byte[],System.Int32,System.Int32)
533
534 ---> System.Exception: Basic block has to end with unconditional control flow.
535{
536 Block_0:
537 call:void(SslStream::CheckDisposed, ldloc:SslStream(this))
538 stloc:MobileAuthenticatedStream(var_0_0C, ldfld:MobileAuthenticatedStream(SslStream::impl, ldloc:SslStream(this)))
539}
540
541 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
542 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
543 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
544 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
545 --- End of inner exception stack trace ---
546 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
547 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
548*/;
549 }
550
551 // Token: 0x060014DD RID: 5341 RVA: 0x0003F2A8 File Offset: 0x0003D4A8
552 public override void Write(byte[] buffer, int offset, int count)
553 {
554 this.CheckDisposed();
556 }
557
558 // Token: 0x060014DE RID: 5342 RVA: 0x0003F2C4 File Offset: 0x0003D4C4
559 public override Task<int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
560 {
561 /*
562An exception occurred when decompiling this method (060014DE)
563
564ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Threading.Tasks.Task`1<System.Int32> System.Net.Security.SslStream::ReadAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)
565
566 ---> System.Exception: Basic block has to end with unconditional control flow.
567{
568 Block_0:
569 call:void(SslStream::CheckDisposed, ldloc:SslStream(this))
570 stloc:MobileAuthenticatedStream(var_0_0C, ldfld:MobileAuthenticatedStream(SslStream::impl, ldloc:SslStream(this)))
571}
572
573 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
574 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
575 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
576 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
577 --- End of inner exception stack trace ---
578 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
579 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
580*/;
581 }
582
583 // Token: 0x060014DF RID: 5343 RVA: 0x0003F2E0 File Offset: 0x0003D4E0
584 public override Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
585 {
586 /*
587An exception occurred when decompiling this method (060014DF)
588
589ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Threading.Tasks.Task System.Net.Security.SslStream::WriteAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)
590
591 ---> System.Exception: Basic block has to end with unconditional control flow.
592{
593 Block_0:
594 call:void(SslStream::CheckDisposed, ldloc:SslStream(this))
595 stloc:MobileAuthenticatedStream(var_0_0C, ldfld:MobileAuthenticatedStream(SslStream::impl, ldloc:SslStream(this)))
596}
597
598 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
599 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
600 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
601 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
602 --- End of inner exception stack trace ---
603 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
604 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
605*/;
606 }
607
608 // Token: 0x060014E0 RID: 5344 RVA: 0x0003F2FC File Offset: 0x0003D4FC
609 public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
610 {
611 this.CheckDisposed();
612 return TaskToApm.Begin(this.impl.ReadAsync(buffer, offset, count), callback, state);
613 }
614
615 // Token: 0x060014E1 RID: 5345 RVA: 0x0003F328 File Offset: 0x0003D528
616 public override int EndRead(IAsyncResult asyncResult)
617 {
618 return TaskToApm.End<int>(asyncResult);
619 }
620
621 // Token: 0x060014E2 RID: 5346 RVA: 0x0003F33C File Offset: 0x0003D53C
622 public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
623 {
624 this.CheckDisposed();
625 return TaskToApm.Begin(this.impl.WriteAsync(buffer, offset, count), callback, state);
626 }
627
628 // Token: 0x060014E3 RID: 5347 RVA: 0x0003F368 File Offset: 0x0003D568
629 public override void EndWrite(IAsyncResult asyncResult)
630 {
631 TaskToApm.End(asyncResult);
632 }
633
634 // Token: 0x04001154 RID: 4436
636
637 // Token: 0x04001155 RID: 4437
639
640 // Token: 0x04001156 RID: 4438
642
643 // Token: 0x04001157 RID: 4439
645
646 // Token: 0x04001158 RID: 4440
648
649 // Token: 0x04001159 RID: 4441
650 private bool explicitSettings;
651
652 // Token: 0x02000324 RID: 804
654 private sealed class <>c__DisplayClass21_0
655 {
656 // Token: 0x060014E4 RID: 5348 RVA: 0x0003F37C File Offset: 0x0003D57C
658 {
659 }
660
661 // Token: 0x060014E5 RID: 5349 RVA: 0x0003F390 File Offset: 0x0003D590
662 internal X509Certificate <SetAndVerifySelectionCallback>b__0(string t, global::System.Security.Cryptography.X509Certificates.X509CertificateCollection lc, X509Certificate rc, string[] ai)
663 {
664 /*
665An exception occurred when decompiling this method (060014E5)
666
667ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Security.Cryptography.X509Certificates.X509Certificate System.Net.Security.SslStream/<>c__DisplayClass21_0::<SetAndVerifySelectionCallback>b__0(System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Cryptography.X509Certificates.X509Certificate,System.String[])
668
669 ---> System.Exception: Basic block has to end with unconditional control flow.
670{
671 Block_0:
672 stloc:LocalCertificateSelectionCallback(var_0_06, ldfld:LocalCertificateSelectionCallback('<>c__DisplayClass21_0'::callback, ldloc:'<>c__DisplayClass21_0'(this)))
673 stloc:SslStream(var_1_0D, ldfld:SslStream('<>c__DisplayClass21_0'::<>4__this, ldloc:'<>c__DisplayClass21_0'(this)))
674 stloc:native int(var_2_14, ldfld:native int(Delegate::invoke_impl, ldloc:LocalCertificateSelectionCallback[exp:Delegate](var_0_06)))
675 stloc:native int(var_3_1B, ldfld:native int(Delegate::method_code, ldloc:LocalCertificateSelectionCallback[exp:Delegate](var_0_06)))
676 stloc:native int(var_4_22, ldfld:native int(Delegate::method, ldloc:LocalCertificateSelectionCallback[exp:Delegate](var_0_06)))
677}
678
679 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
680 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
681 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
682 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
683 --- End of inner exception stack trace ---
684 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
685 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
686*/;
687 }
688
689 // Token: 0x0400115A RID: 4442
690 public LocalCertificateSelectionCallback callback;
691
692 // Token: 0x0400115B RID: 4443
693 public SslStream <>4__this;
694 }
695 }
696}
class f__AnonymousType0<< Count > j__TPar
static MonoTlsSettings CopyDefaultSettings()
static string Format(string resourceFormat, params object[] args)
Definition SR.cs:33
Definition SR.cs:7
override int EndRead(IAsyncResult asyncResult)
Definition SslStream.cs:616
override void Dispose(bool disposing)
Definition SslStream.cs:514
override Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
Definition SslStream.cs:584
override Task FlushAsync(CancellationToken cancellationToken)
Definition SslStream.cs:476
Mono.Net.Security.MobileTlsProvider provider
Definition SslStream.cs:635
override Task< int > ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
Definition SslStream.cs:559
void SetAndVerifySelectionCallback(LocalCertificateSelectionCallback callback)
Definition SslStream.cs:103
override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
Definition SslStream.cs:609
virtual void AuthenticateAsClient(string targetHost, global::System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, global::System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation)
Definition SslStream.cs:121
virtual void AuthenticateAsServer(X509Certificate serverCertificate, bool clientCertificateRequired, global::System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation)
Definition SslStream.cs:141
static Mono.Net.Security.MobileTlsProvider GetProvider()
Definition SslStream.cs:39
override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
Definition SslStream.cs:622
LocalCertificateSelectionCallback selectionCallback
Definition SslStream.cs:644
override void EndWrite(IAsyncResult asyncResult)
Definition SslStream.cs:629
override long Seek(long offset, SeekOrigin origin)
Definition SslStream.cs:452
virtual IAsyncResult BeginAuthenticateAsClient(string targetHost, global::System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, global::System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation, AsyncCallback asyncCallback, object asyncState)
Definition SslStream.cs:128
virtual X509Certificate LocalCertificate
Definition SslStream.cs:186
SslStream(Stream innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallback userCertificateValidationCallback, LocalCertificateSelectionCallback userCertificateSelectionCallback)
Definition SslStream.cs:53
SslStream(Stream innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallback userCertificateValidationCallback)
Definition SslStream.cs:48
RemoteCertificateValidationCallback validationCallback
Definition SslStream.cs:641
SslStream(Stream innerStream, bool leaveInnerStreamOpen, MonoTlsProvider provider, MonoTlsSettings settings)
Definition SslStream.cs:68
virtual void EndAuthenticateAsClient(IAsyncResult asyncResult)
Definition SslStream.cs:135
Mono.Net.Security.MobileAuthenticatedStream impl
Definition SslStream.cs:647
override int Read(byte[] buffer, int offset, int count)
Definition SslStream.cs:527
override void SetLength(long value)
Definition SslStream.cs:445
void SetAndVerifyValidationCallback(RemoteCertificateValidationCallback callback)
Definition SslStream.cs:86
virtual Task AuthenticateAsClientAsync(string targetHost, global::System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, global::System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation)
Definition SslStream.cs:148
override void Write(byte[] buffer, int offset, int count)
Definition SslStream.cs:552
static IAsyncResult Begin(Task task, AsyncCallback callback, object state)
Definition TaskToApm.cs:11
static void End(IAsyncResult asyncResult)
Definition TaskToApm.cs:38