diff options
author | Jon Skeet <jonskeet@google.com> | 2015-04-29 09:18:19 +0100 |
---|---|---|
committer | Jon Skeet <jonskeet@google.com> | 2015-04-29 09:18:19 +0100 |
commit | f651f73a3c3356a93c4e3c131833ed8b5d93e2bc (patch) | |
tree | cb66caa8f9a67eab3731cfa39ccb1aa3059d4213 /csharp/src/ProtocolBuffers.Test/SerializableAttribute.cs | |
parent | cc058e1118d35c8b2fd2298841c40f9303e6ce09 (diff) | |
download | protobuf-f651f73a3c3356a93c4e3c131833ed8b5d93e2bc.tar.gz protobuf-f651f73a3c3356a93c4e3c131833ed8b5d93e2bc.tar.bz2 protobuf-f651f73a3c3356a93c4e3c131833ed8b5d93e2bc.zip |
Remove support for Serializable.
This could potentially be added back in later, but its use is limited and it's a pain in terms of support in PCL environments.
One use that has been highlighted is passing objects between AppDomains; we'd recommend passing a byte array explicitly and reparsing on the other side.
Diffstat (limited to 'csharp/src/ProtocolBuffers.Test/SerializableAttribute.cs')
-rw-r--r-- | csharp/src/ProtocolBuffers.Test/SerializableAttribute.cs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/csharp/src/ProtocolBuffers.Test/SerializableAttribute.cs b/csharp/src/ProtocolBuffers.Test/SerializableAttribute.cs deleted file mode 100644 index 0553762b..00000000 --- a/csharp/src/ProtocolBuffers.Test/SerializableAttribute.cs +++ /dev/null @@ -1,12 +0,0 @@ -#if NOSERIALIZABLE && !COMPACT_FRAMEWORK
-
-namespace System
-{
- [AttributeUsage(AttributeTargets.Class)]
- public class SerializableAttribute : Attribute
- {
- public SerializableAttribute () : base() { }
- }
-}
-
-#endif
|