Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas N <andreas@mono-cvs.ximian.com>2003-07-18 15:35:47 +0400
committerAndreas N <andreas@mono-cvs.ximian.com>2003-07-18 15:35:47 +0400
commitead329bfa3816e50c5f389ab80395364f121d4cd (patch)
tree71593d98dc92f0e1f87b4ea141108ff83c6ffb9d
parent712b41e674e2ad20b09dae49061b85c32958b60e (diff)
2003-07-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* Socket.cs: Added GetHashCode method svn path=/trunk/mcs/; revision=16397
-rw-r--r--mcs/class/System/System.Net.Sockets/ChangeLog4
-rw-r--r--mcs/class/System/System.Net.Sockets/Socket.cs5
2 files changed, 9 insertions, 0 deletions
diff --git a/mcs/class/System/System.Net.Sockets/ChangeLog b/mcs/class/System/System.Net.Sockets/ChangeLog
index 8f40822eceb..236f5139a63 100644
--- a/mcs/class/System/System.Net.Sockets/ChangeLog
+++ b/mcs/class/System/System.Net.Sockets/ChangeLog
@@ -1,3 +1,7 @@
+2003-07-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+ * Socket.cs: Added GetHashCode method
+
2003-07-14 Jerome Laban <jlaban@wanadoo.fr>
* Socket.cs:
diff --git a/mcs/class/System/System.Net.Sockets/Socket.cs b/mcs/class/System/System.Net.Sockets/Socket.cs
index b40658ecc7b..40ea103a1c5 100644
--- a/mcs/class/System/System.Net.Sockets/Socket.cs
+++ b/mcs/class/System/System.Net.Sockets/Socket.cs
@@ -1097,6 +1097,11 @@ namespace System.Net.Sockets
Shutdown_internal(socket, how);
}
+ public override int GetHashCode ()
+ {
+ return (int) socket;
+ }
+
private bool disposed = false;
protected virtual void Dispose(bool explicitDisposing) {