Jelajahi Sumber

Make RaiseExceptionEvent private.

Gert Driesen 8 tahun lalu
induk
melakukan
f726b706df
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      src/Renci.SshNet/Channels/Channel.cs

+ 2 - 2
src/Renci.SshNet/Channels/Channel.cs

@@ -439,10 +439,10 @@ namespace Renci.SshNet.Channels
         #endregion // Channel virtual methods
 
         /// <summary>
-        /// Raises <see cref="Channel.Exception"/> event.
+        /// Raises <see cref="Exception"/> event.
         /// </summary>
         /// <param name="exception">The exception.</param>
-        protected void RaiseExceptionEvent(Exception exception)
+        private void RaiseExceptionEvent(Exception exception)
         {
             var handlers = Exception;
             if (handlers != null)