aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJon Skeet <jonskeet@google.com>2015-07-30 13:03:45 +0100
committerJon Skeet <jonskeet@google.com>2015-07-30 13:36:45 +0100
commit68380f0f6681c72a5d4ab5e69abc9670e9d99838 (patch)
treef924bcd3a601cb55540924cc28fa7bbc600792cd /Makefile.am
parent7909b2edeb19affdf3f96a0b13a8098f28860c3c (diff)
downloadprotobuf-68380f0f6681c72a5d4ab5e69abc9670e9d99838.tar.gz
protobuf-68380f0f6681c72a5d4ab5e69abc9670e9d99838.tar.bz2
protobuf-68380f0f6681c72a5d4ab5e69abc9670e9d99838.zip
Rename ThrowHelper to Preconditions and make it public - we'll want to use it from the generated code soon.
Additionally, change it to return the value passed, and make it generic with a class constraint. A separate method doesn't have the class constraint, for more unusual scenarios.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 3c0cea5a..b5868b88 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -107,6 +107,7 @@ csharp_EXTRA_DIST= \
csharp/src/Google.Protobuf/LimitedInputStream.cs \
csharp/src/Google.Protobuf/MessageExtensions.cs \
csharp/src/Google.Protobuf/MessageParser.cs \
+ csharp/src/Google.Protobuf/Preconditions.cs \
csharp/src/Google.Protobuf/Properties/AssemblyInfo.cs \
csharp/src/Google.Protobuf/Reflection/DescriptorBase.cs \
csharp/src/Google.Protobuf/Reflection/DescriptorPool.cs \
@@ -133,7 +134,6 @@ csharp_EXTRA_DIST= \
csharp/src/Google.Protobuf/Reflection/RepeatedFieldAccessor.cs \
csharp/src/Google.Protobuf/Reflection/ServiceDescriptor.cs \
csharp/src/Google.Protobuf/Reflection/SingleFieldAccessor.cs \
- csharp/src/Google.Protobuf/ThrowHelper.cs \
csharp/src/Google.Protobuf/WellKnownTypes/Any.cs \
csharp/src/Google.Protobuf/WellKnownTypes/Api.cs \
csharp/src/Google.Protobuf/WellKnownTypes/Duration.cs \