Home
last modified time | relevance | path

Searched refs:CheckNotNull (Results 1 – 25 of 38) sorted by relevance

12

/third_party/protobuf/csharp/src/Google.Protobuf/
DMessageExtensions.cs101 ProtoPreconditions.CheckNotNull(message, "message"); in ToByteArray()
116 ProtoPreconditions.CheckNotNull(message, "message"); in WriteTo()
117 ProtoPreconditions.CheckNotNull(output, "output"); in WriteTo()
130 ProtoPreconditions.CheckNotNull(message, "message"); in WriteDelimitedTo()
131 ProtoPreconditions.CheckNotNull(output, "output"); in WriteDelimitedTo()
145 ProtoPreconditions.CheckNotNull(message, "message"); in ToByteString()
157 ProtoPreconditions.CheckNotNull(message, nameof(message)); in WriteTo()
158 ProtoPreconditions.CheckNotNull(output, nameof(output)); in WriteTo()
175 ProtoPreconditions.CheckNotNull(message, nameof(message)); in WriteTo()
245 ProtoPreconditions.CheckNotNull(message, "message"); in MergeFrom()
[all …]
DExtensionRegistry.cs93 ProtoPreconditions.CheckNotNull(extension, nameof(extension)); in Add()
103 ProtoPreconditions.CheckNotNull(extensions, nameof(extensions)); in AddRange()
124 ProtoPreconditions.CheckNotNull(item, nameof(item)); in Contains()
136 ProtoPreconditions.CheckNotNull(array, nameof(array)); in CopyTo()
169 ProtoPreconditions.CheckNotNull(item, nameof(item)); in Remove()
DJsonParser.cs115 this.settings = ProtoPreconditions.CheckNotNull(settings, nameof(settings)); in JsonParser()
396 ProtoPreconditions.CheckNotNull(json, nameof(json));
409 ProtoPreconditions.CheckNotNull(jsonReader, nameof(jsonReader));
424 ProtoPreconditions.CheckNotNull(json, nameof(json)); in Parse()
425 ProtoPreconditions.CheckNotNull(descriptor, nameof(descriptor)); in Parse()
438 ProtoPreconditions.CheckNotNull(jsonReader, nameof(jsonReader)); in Parse()
439 ProtoPreconditions.CheckNotNull(descriptor, nameof(descriptor)); in Parse()
1026 TypeRegistry = ProtoPreconditions.CheckNotNull(typeRegistry, nameof(typeRegistry)); in Settings()
1069 ProtoPreconditions.CheckNotNull(typeRegistry, nameof(typeRegistry)),
DCodedInputStream.cs94 …public CodedInputStream(byte[] buffer) : this(null, ProtoPreconditions.CheckNotNull(buffer, "buffe… in CodedInputStream()
102 … : this(null, ProtoPreconditions.CheckNotNull(buffer, "buffer"), offset, offset + length, true) in CodedInputStream()
131 … : this(ProtoPreconditions.CheckNotNull(input, "input"), new byte[BufferSize], 0, 0, leaveOpen) in CodedInputStream()
DByteString.cs180 ProtoPreconditions.CheckNotNull(stream, nameof(stream)); in FromStream()
204 ProtoPreconditions.CheckNotNull(stream, nameof(stream)); in FromStreamAsync()
DProtoPreconditions.cs51 public static T CheckNotNull<T>(T value, string name) where T : class
DJsonFormatter.cs136 this.settings = ProtoPreconditions.CheckNotNull(settings, nameof(settings)); in JsonFormatter()
159 ProtoPreconditions.CheckNotNull(message, nameof(message)); in Format()
160 ProtoPreconditions.CheckNotNull(writer, nameof(writer)); in Format()
191 ProtoPreconditions.CheckNotNull(message, nameof(message)); in ToDiagnosticString()
DCodedOutputStream.cs91 this.buffer = ProtoPreconditions.CheckNotNull(buffer, nameof(buffer)); in CodedOutputStream()
100 this.output = ProtoPreconditions.CheckNotNull(output, nameof(output)); in CodedOutputStream()
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DTimestampPartial.cs62 ProtoPreconditions.CheckNotNull(lhs, "lhs"); in operator -()
63 ProtoPreconditions.CheckNotNull(rhs, "rhs"); in operator -()
78 ProtoPreconditions.CheckNotNull(lhs, "lhs"); in operator +()
79 ProtoPreconditions.CheckNotNull(rhs, "rhs"); in operator +()
94 ProtoPreconditions.CheckNotNull(lhs, "lhs"); in operator -()
95 ProtoPreconditions.CheckNotNull(rhs, "rhs"); in operator -()
DDurationPartial.cs121 ProtoPreconditions.CheckNotNull(value, "value"); in operator -()
136 ProtoPreconditions.CheckNotNull(lhs, "lhs"); in operator +()
137 ProtoPreconditions.CheckNotNull(rhs, "rhs"); in operator +()
152 ProtoPreconditions.CheckNotNull(lhs, "lhs"); in operator -()
153 ProtoPreconditions.CheckNotNull(rhs, "rhs"); in operator -()
DAnyPartial.cs65 ProtoPreconditions.CheckNotNull(typeUrl, nameof(typeUrl)); in GetTypeName()
77 ProtoPreconditions.CheckNotNull(descriptor, nameof(descriptor)); in Is()
138 ProtoPreconditions.CheckNotNull(message, nameof(message)); in Pack()
139 ProtoPreconditions.CheckNotNull(typeUrlPrefix, nameof(typeUrlPrefix)); in Pack()
DValuePartial.cs44 ProtoPreconditions.CheckNotNull(value, "value"); in ForString()
84 ProtoPreconditions.CheckNotNull(values, "values"); in ForList()
95 ProtoPreconditions.CheckNotNull(value, "value"); in ForStruct()
DApi.cs122 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
180 version_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
529 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
543 requestTypeUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
571 responseTypeUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1002 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1017 root_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
DAny.cs197 typeUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
211 value_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
DType.cs150 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
545 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
560 typeUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
616 jsonName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
630 defaultValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1129 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1448 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1696 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
DSourceContext.cs96 fileName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
/third_party/protobuf/csharp/src/Google.Protobuf.Conformance/
DConformance.cs341 payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
352 payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
366 payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
377 payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
408 messageType_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
887 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
903 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
919 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
934 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
949 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DTypeRegistry.cs94 ProtoPreconditions.CheckNotNull(fileDescriptors, nameof(fileDescriptors)); in FromFiles()
131 ProtoPreconditions.CheckNotNull(messageDescriptors, nameof(messageDescriptors)); in FromMessages()
DOriginalNameAttribute.cs60 Name = ProtoPreconditions.CheckNotNull(name, nameof(name)); in OriginalNameAttribute()
DDescriptor.cs422 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
448 package_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
586 syntax_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
998 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2187 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2293 typeName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2320 extendee_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2350 defaultValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2407 jsonName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2969 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
[all …]
/third_party/protobuf/src/google/protobuf/stubs/
Dlogging.h165 T* CheckNotNull(const char* /* file */, int /* line */, in CheckNotNull() function
174 ::google::protobuf::internal::CheckNotNull( \
/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/
DBenchmarks.cs92 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
112 messageName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
DBenchmarkMessage1Proto3.cs152 field1_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
163 field9_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
174 field18_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
262 field4_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
294 field7_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
404 field102_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
415 field103_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
580 field129_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1776 field15_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1930 field205_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
/third_party/protobuf/csharp/src/Google.Protobuf/Collections/
DMapField.cs243 ProtoPreconditions.CheckNotNull(entries, nameof(entries)); in Add()
554 ProtoPreconditions.CheckNotNull(key, nameof(key)); in IDictionary.Remove()
583 ProtoPreconditions.CheckNotNull(key, nameof(key));
/third_party/protobuf/csharp/src/AddressBook/
DAddressbook.cs101 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
126 email_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
423 number_ = pb::ProtoPreconditions.CheckNotNull(value, "value");

12