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 /csharp/src/Google.Protobuf/WellKnownTypes/ValuePartial.cs | |
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 'csharp/src/Google.Protobuf/WellKnownTypes/ValuePartial.cs')
-rw-r--r-- | csharp/src/Google.Protobuf/WellKnownTypes/ValuePartial.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/ValuePartial.cs b/csharp/src/Google.Protobuf/WellKnownTypes/ValuePartial.cs index b4b6c05e..d34b560d 100644 --- a/csharp/src/Google.Protobuf/WellKnownTypes/ValuePartial.cs +++ b/csharp/src/Google.Protobuf/WellKnownTypes/ValuePartial.cs @@ -41,7 +41,7 @@ namespace Google.Protobuf.WellKnownTypes /// <returns>A newly-created Value message with the given value.</returns> public static Value ForString(string value) { - Preconditions.CheckNotNull(value, "value"); + ProtoPreconditions.CheckNotNull(value, "value"); return new Value { StringValue = value }; } @@ -81,7 +81,7 @@ namespace Google.Protobuf.WellKnownTypes /// <returns>A newly-created Value message an initial list value.</returns> public static Value ForList(params Value[] values) { - Preconditions.CheckNotNull(values, "values"); + ProtoPreconditions.CheckNotNull(values, "values"); return new Value { ListValue = new ListValue { Values = { values } } }; } @@ -92,7 +92,7 @@ namespace Google.Protobuf.WellKnownTypes /// <returns>A newly-created Value message an initial struct value.</returns> public static Value ForStruct(Struct value) { - Preconditions.CheckNotNull(value, "value"); + ProtoPreconditions.CheckNotNull(value, "value"); return new Value { StructValue = value }; } } |