I followed this 2nd sslStream to its definition (control-return):
sslStream = newSslStream(newNetworkStream(tcpForSslClient), true, MyLenientSslCryptoCallback, null, encryptionPolicy);
While in that document [SslStream] padlock, I did highlight "SslProtocols" and Find-all (shift-cmd-F) which found none in solution;
I changed to search in current document, did find-all, and got exception below. Repeating it now, it is repeatable.
SharpDevelop Version : 5.1.0.5134-RC-d5052dc5
.NET Version : 4.5.51209
OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture : English (United States) (en-US)
Running under WOW6432, processor architecture: x86-64
Working Set Memory : 189608kb
GC Heap Memory : 63349kb
Exception thrown:
System.AggregateException: One or more errors occurred. ---> System.NotSupportedException: The given path's format is not supported.
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at SearchAndReplace.SearchManager.SearchableFileContentFinder.Create(FileName fileName)
at SearchAndReplace.SearchManager.SearchRun.SearchFile(FileName fileName)
at SearchAndReplace.SearchManager.SearchRun.<>c__DisplayClass16_0.<SearchParallel>b__0()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at System.AggregateException.Handle(Func`2 predicate)
at SearchAndReplace.ObserverSearchResult.System.IObserver<ICSharpCode.SharpDevelop.Editor.Search.SearchedFile>.OnError(Exception error)
---> (Inner Exception #0) System.NotSupportedException: The given path's format is not supported.
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at SearchAndReplace.SearchManager.SearchableFileContentFinder.Create(FileName fileName)
at SearchAndReplace.SearchManager.SearchRun.SearchFile(FileName fileName)
at SearchAndReplace.SearchManager.SearchRun.<>c__DisplayClass16_0.<SearchParallel>b__0()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---
---- Recent log messages:
12:18:49.139 [1] DEBUG - Resolved (Line 659, Col 40) to [CSharpInvocationResolveResult [Constructor System.Net.Security.SslStream..ctor(innerStream:System.IO.Stream, leaveInnerStreamOpen:System.Boolean, userCertificateValidationCallback:System.Net.Security.RemoteCertificateValidationCallback, userCertificateSelectionCallback:System.Net.Security.LocalCertificateSelectionCallback, encryptionPolicy:System.Net.Security.EncryptionPolicy):System.Void]]
12:18:49.140 [1] DEBUG - Resolved (Line 659, Col 40) to [CSharpInvocationResolveResult [Constructor System.Net.Security.SslStream..ctor(innerStream:System.IO.Stream, leaveInnerStreamOpen:System.Boolean, userCertificateValidationCallback:System.Net.Security.RemoteCertificateValidationCallback, userCertificateSelectionCallback:System.Net.Security.LocalCertificateSelectionCallback, encryptionPolicy:System.Net.Security.EncryptionPolicy):System.Void]]
12:18:49.140 [1] DEBUG - Resolved (Line 659, Col 40) to [CSharpInvocationResolveResult [Constructor System.Net.Security.SslStream..ctor(innerStream:System.IO.Stream, leaveInnerStreamOpen:System.Boolean, userCertificateValidationCallback:System.Net.Security.RemoteCertificateValidationCallback, userCertificateSelectionCallback:System.Net.Security.LocalCertificateSelectionCallback, encryptionPolicy:System.Net.Security.EncryptionPolicy):System.Void]]
12:18:49.141 [1] DEBUG - Resolved (Line 659, Col 40) to [CSharpInvocationResolveResult [Constructor System.Net.Security.SslStream..ctor(innerStream:System.IO.Stream, leaveInnerStreamOpen:System.Boolean, userCertificateValidationCallback:System.Net.Security.RemoteCertificateValidationCallback, userCertificateSelectionCallback:System.Net.Security.LocalCertificateSelectionCallback, encryptionPolicy:System.Net.Security.EncryptionPolicy):System.Void]]
12:18:49.142 [1] DEBUG - Resolved (Line 659, Col 40) to [CSharpInvocationResolveResult [Constructor System.Net.Security.SslStream..ctor(innerStream:System.IO.Stream, leaveInnerStreamOpen:System.Boolean, userCertificateValidationCallback:System.Net.Security.RemoteCertificateValidationCallback, userCertificateSelectionCallback:System.Net.Security.LocalCertificateSelectionCallback, encryptionPolicy:System.Net.Security.EncryptionPolicy):System.Void]]
12:18:49.143 [1] DEBUG - Resolved (Line 659, Col 40) to [CSharpInvocationResolveResult [Constructor System.Net.Security.SslStream..ctor(innerStream:System.IO.Stream, leaveInnerStreamOpen:System.Boolean, userCertificateValidationCallback:System.Net.Security.RemoteCertificateValidationCallback, userCertificateSelectionCallback:System.Net.Security.LocalCertificateSelectionCallback, encryptionPolicy:System.Net.Security.EncryptionPolicy):System.Void]]
12:18:49.144 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:18:49.144 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:18:49.145 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:18:49.145 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:18:49.145 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:18:49.145 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:18:49.145 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:18:49.146 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:18:49.146 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:18:49.146 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:18:49.146 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:18:49.146 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:18:49.147 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:18:49.147 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:18:49.147 [1] DEBUG - Resolved (Line 386, Col 4) to [TypeResolveResult System.Security.Authentication.SslProtocols]
12:19:20.651 [1] DEBUG - Parallel FindAll starting
12:19:20.728 [33] DEBUG - Parallel FindAll finished with error
12:19:20.739 [1] ERROR -
--> Exception:
System.AggregateException: One or more errors occurred. ---> System.NotSupportedException: The given path's format is not supported.
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at SearchAndReplace.SearchManager.SearchableFileContentFinder.Create(FileName fileName)
at SearchAndReplace.SearchManager.SearchRun.SearchFile(FileName fileName)
at SearchAndReplace.SearchManager.SearchRun.<>c__DisplayClass16_0.<SearchParallel>b__0()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at System.AggregateException.Handle(Func`2 predicate)
at SearchAndReplace.ObserverSearchResult.System.IObserver<ICSharpCode.SharpDevelop.Editor.Search.SearchedFile>.OnError(Exception error)
---> (Inner Exception #0) System.NotSupportedException: The given path's format is not supported.
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at SearchAndReplace.SearchManager.SearchableFileContentFinder.Create(FileName fileName)
at SearchAndReplace.SearchManager.SearchRun.SearchFile(FileName fileName)
at SearchAndReplace.SearchManager.SearchRun.<>c__DisplayClass16_0.<SearchParallel>b__0()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---
12:19:20.952 [1] WARN - Stack trace of last exception log:
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at ICSharpCode.SharpDevelop.Logging.SDMessageService.ShowException(Exception ex, String message)
at SearchAndReplace.ObserverSearchResult.System.IObserver<ICSharpCode.SharpDevelop.Editor.Search.SearchedFile>.OnError(Exception error)
at ICSharpCode.SharpDevelop.ReactiveExtensions.UIThreadObservable`1.<>c__DisplayClass3_0.<Subscribe>b__3(Object state)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[ arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[ parameters, Object[ arguments)
at System.Reflection.RuntimeMethodInfo.UnsafeInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[ parameters, CultureInfo culture)
at System.Delegate.DynamicInvokeImpl(Object[ args)
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.Run()
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at ICSharpCode.SharpDevelop.Workbench.WorkbenchStartup.Run(IList`1 fileList)
at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbenchInternal(Object settings)
at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbench(WorkbenchSettings settings)
at ICSharpCode.SharpDevelop.Sda.SharpDevelopHost.RunWorkbench(WorkbenchSettings settings)
at ICSharpCode.SharpDevelop.Startup.SharpDevelopMain.RunApplication()
at ICSharpCode.SharpDevelop.Startup.SharpDevelopMain.Run()
at ICSharpCode.SharpDevelop.Startup.SharpDevelopMain.Main(String[ args)
---- Post-error application state information:
Installed 3rd party AddIns:
ProjectService.CurrentSolution: [Solution C:\AutoTest\trunk\ToolsSource\Grapple\Grapple.sln with 2 projects]
ProjectService.CurrentProject: [CSharpProject: Grapple]
Workbench.ActiveContent: ICSharpCode.SharpDevelop.Editor.Search.SearchResultsPad