diff options
Diffstat (limited to 'csharp/src/Google.Protobuf.Test')
-rw-r--r-- | csharp/src/Google.Protobuf.Test/Compatibility/TypeExtensionsTest.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/csharp/src/Google.Protobuf.Test/Compatibility/TypeExtensionsTest.cs b/csharp/src/Google.Protobuf.Test/Compatibility/TypeExtensionsTest.cs index f0c8d3bc..359c72c8 100644 --- a/csharp/src/Google.Protobuf.Test/Compatibility/TypeExtensionsTest.cs +++ b/csharp/src/Google.Protobuf.Test/Compatibility/TypeExtensionsTest.cs @@ -67,7 +67,7 @@ namespace Google.Protobuf.Compatibility { Assert.AreEqual(expected, TypeExtensions.IsValueType(type)); } - +#if !DOTNET35 [Test] [TestCase(typeof(object), typeof(string), true)] [TestCase(typeof(object), typeof(int), true)] @@ -129,5 +129,6 @@ namespace Google.Protobuf.Compatibility { Assert.Throws<AmbiguousMatchException>(() => TypeExtensions.GetMethod(type, name)); } +#endif } } |