diff options
author | Jon Skeet <jonskeet@google.com> | 2016-02-04 06:51:54 +0000 |
---|---|---|
committer | Jon Skeet <jonskeet@google.com> | 2016-02-04 14:50:43 +0000 |
commit | 7762f163a4150772be9a0eae3a285ff9b1eb3246 (patch) | |
tree | d5221ec9c489e6fc5c49460387273c3723862981 /src/google | |
parent | c78222a366edf128e4361d32958dc96d0b4d89d8 (diff) | |
download | protobuf-7762f163a4150772be9a0eae3a285ff9b1eb3246.tar.gz protobuf-7762f163a4150772be9a0eae3a285ff9b1eb3246.tar.bz2 protobuf-7762f163a4150772be9a0eae3a285ff9b1eb3246.zip |
Rename Preconditions to ProtoPreconditions
(Generated code changes in next commit.)
Diffstat (limited to 'src/google')
-rw-r--r-- | src/google/protobuf/compiler/csharp/csharp_primitive_field.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/google/protobuf/compiler/csharp/csharp_primitive_field.cc b/src/google/protobuf/compiler/csharp/csharp_primitive_field.cc index 76d5b247..60afd892 100644 --- a/src/google/protobuf/compiler/csharp/csharp_primitive_field.cc +++ b/src/google/protobuf/compiler/csharp/csharp_primitive_field.cc @@ -83,7 +83,7 @@ void PrimitiveFieldGenerator::GenerateMembers(io::Printer* printer) { } else { printer->Print( variables_, - " $name$_ = pb::Preconditions.CheckNotNull(value, \"value\");\n"); + " $name$_ = pb::ProtoPreconditions.CheckNotNull(value, \"value\");\n"); } printer->Print( " }\n" @@ -186,7 +186,7 @@ void PrimitiveOneofFieldGenerator::GenerateMembers(io::Printer* printer) { } else { printer->Print( variables_, - " $oneof_name$_ = pb::Preconditions.CheckNotNull(value, \"value\");\n"); + " $oneof_name$_ = pb::ProtoPreconditions.CheckNotNull(value, \"value\");\n"); } printer->Print( variables_, |