summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/stream/Serializable.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/test/Ice/stream/Serializable.cs')
-rw-r--r--csharp/test/Ice/stream/Serializable.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/csharp/test/Ice/stream/Serializable.cs b/csharp/test/Ice/stream/Serializable.cs
new file mode 100644
index 00000000000..938deee8015
--- /dev/null
+++ b/csharp/test/Ice/stream/Serializable.cs
@@ -0,0 +1,23 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+using System;
+
+[assembly: CLSCompliant(true)]
+
+namespace Serialize
+{
+
+[Serializable]
+public class Small // Fewer than 254 bytes with a BinaryFormatter.
+{
+ public int i;
+}
+
+}