diff options
author | Jon Skeet <jonskeet@google.com> | 2017-11-16 16:19:38 +0000 |
---|---|---|
committer | Jon Skeet <jonskeet@google.com> | 2018-03-27 08:42:27 +0100 |
commit | aa59eaa77b8ede7b0ed120e9bda8a92348ede946 (patch) | |
tree | 45d8181860bfa618c81ba49f83e65d8b8c605592 /csharp/src/Google.Protobuf/Reflection/ReflectionUtil.cs | |
parent | 8ba420f040a2987aea55bb9c103606971427cb3d (diff) | |
download | protobuf-aa59eaa77b8ede7b0ed120e9bda8a92348ede946.tar.gz protobuf-aa59eaa77b8ede7b0ed120e9bda8a92348ede946.tar.bz2 protobuf-aa59eaa77b8ede7b0ed120e9bda8a92348ede946.zip |
Introduce a compatiblity shim to support .NET 3.5 delegate creation
Diffstat (limited to 'csharp/src/Google.Protobuf/Reflection/ReflectionUtil.cs')
-rw-r--r-- | csharp/src/Google.Protobuf/Reflection/ReflectionUtil.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/csharp/src/Google.Protobuf/Reflection/ReflectionUtil.cs b/csharp/src/Google.Protobuf/Reflection/ReflectionUtil.cs index 0d5ab7cd..c2771d72 100644 --- a/csharp/src/Google.Protobuf/Reflection/ReflectionUtil.cs +++ b/csharp/src/Google.Protobuf/Reflection/ReflectionUtil.cs @@ -33,6 +33,10 @@ using System; using System.Reflection; +#if NET35 +using Google.Protobuf.Compatibility; +#endif + namespace Google.Protobuf.Reflection { /// <summary> |