Home
last modified time | relevance | path

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

1234

/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)),
/third_party/grpc/src/csharp/Grpc.Core/Interceptors/
DServerServiceDefinitionExtensions.cs45 … GrpcPreconditions.CheckNotNull(serverServiceDefinition, nameof(serverServiceDefinition)); in Intercept()
46 GrpcPreconditions.CheckNotNull(interceptor, nameof(interceptor)); in Intercept()
71 … GrpcPreconditions.CheckNotNull(serverServiceDefinition, nameof(serverServiceDefinition)); in Intercept()
72 GrpcPreconditions.CheckNotNull(interceptors, nameof(interceptors)); in Intercept()
92 this.interceptor = GrpcPreconditions.CheckNotNull(interceptor, nameof(interceptor)); in InterceptingServiceBinder()
/third_party/grpc/src/csharp/Grpc.Core.Api/
DMethod.cs94 this.serviceName = GrpcPreconditions.CheckNotNull(serviceName, "serviceName"); in Method()
95 this.name = GrpcPreconditions.CheckNotNull(name, "name"); in Method()
96 … this.requestMarshaller = GrpcPreconditions.CheckNotNull(requestMarshaller, "requestMarshaller"); in Method()
97 …this.responseMarshaller = GrpcPreconditions.CheckNotNull(responseMarshaller, "responseMarshaller"); in Method()
DMetadata.cs161 GrpcPreconditions.CheckNotNull(item); in Insert()
187 GrpcPreconditions.CheckNotNull(value);
198 GrpcPreconditions.CheckNotNull(item); in Add()
300 GrpcPreconditions.CheckNotNull(valueBytes, "valueBytes"); in Entry()
315 this.value = GrpcPreconditions.CheckNotNull(value, "value"); in Entry()
427 GrpcPreconditions.CheckNotNull(key, "key"); in NormalizeKey()
DMarshaller.cs42 this.serializer = GrpcPreconditions.CheckNotNull(serializer, nameof(serializer)); in Marshaller()
43 this.deserializer = GrpcPreconditions.CheckNotNull(deserializer, nameof(deserializer)); in Marshaller()
60 … this.contextualSerializer = GrpcPreconditions.CheckNotNull(serializer, nameof(serializer)); in Marshaller()
61 … this.contextualDeserializer = GrpcPreconditions.CheckNotNull(deserializer, nameof(deserializer)); in Marshaller()
DAuthProperty.cs38 this.name = GrpcPreconditions.CheckNotNull(name); in AuthProperty()
39 this.valueBytes = GrpcPreconditions.CheckNotNull(valueBytes); in AuthProperty()
84 GrpcPreconditions.CheckNotNull(valueBytes); in Create()
DClientBase.cs108 this.configuration = GrpcPreconditions.CheckNotNull(configuration, "configuration"); in ClientBase()
161 … this.interceptor = GrpcPreconditions.CheckNotNull(interceptor, nameof(interceptor)); in ClientBaseConfigurationInterceptor()
215 … this.undecoratedCallInvoker = GrpcPreconditions.CheckNotNull(undecoratedCallInvoker); in ClientBaseConfiguration()
226 GrpcPreconditions.CheckNotNull(host, nameof(host)); in WithHost()
DKeyCertificatePair.cs42 … this.certificateChain = GrpcPreconditions.CheckNotNull(certificateChain, "certificateChain"); in KeyCertificatePair()
43 this.privateKey = GrpcPreconditions.CheckNotNull(privateKey, "privateKey"); in KeyCertificatePair()
DAsyncAuthInterceptor.cs49 this.serviceUrl = GrpcPreconditions.CheckNotNull(serviceUrl); in AuthInterceptorContext()
50 this.methodName = GrpcPreconditions.CheckNotNull(methodName); in AuthInterceptorContext()
DChannelCredentials.cs102 this.channelCredentials = GrpcPreconditions.CheckNotNull(channelCredentials); in CompositeChannelCredentials()
103 this.callCredentials = GrpcPreconditions.CheckNotNull(callCredentials); in CompositeChannelCredentials()
/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 -()
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()
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 -()
DValuePartial.cs44 ProtoPreconditions.CheckNotNull(value, "value"); in ForString()
84 ProtoPreconditions.CheckNotNull(values, "values"); in ForList()
95 ProtoPreconditions.CheckNotNull(value, "value"); in ForStruct()
/third_party/grpc/src/csharp/Grpc.Core/
DCallInvocationDetails.cs73 this.channel = GrpcPreconditions.CheckNotNull(channel, "channel"); in CallInvocationDetails()
74 this.method = GrpcPreconditions.CheckNotNull(method, "method"); in CallInvocationDetails()
76 … this.requestMarshaller = GrpcPreconditions.CheckNotNull(requestMarshaller, "requestMarshaller"); in CallInvocationDetails()
77 …this.responseMarshaller = GrpcPreconditions.CheckNotNull(responseMarshaller, "responseMarshaller"); in CallInvocationDetails()
DGrpcEnvironment.cs119 GrpcPreconditions.CheckNotNull(channel); in RegisterChannel()
128 GrpcPreconditions.CheckNotNull(channel); in UnregisterChannel()
137 GrpcPreconditions.CheckNotNull(server); in RegisterServer()
146 GrpcPreconditions.CheckNotNull(server); in UnregisterServer()
194 GrpcPreconditions.CheckNotNull(customLogger, "customLogger"); in SetLogger()
DChannelOptions.cs63 this.name = GrpcPreconditions.CheckNotNull(name, "name"); in ChannelOption()
64 this.stringValue = GrpcPreconditions.CheckNotNull(stringValue, "stringValue"); in ChannelOption()
75 this.name = GrpcPreconditions.CheckNotNull(name, "name"); in ChannelOption()
DServerPort.cs50 this.host = GrpcPreconditions.CheckNotNull(host, "host"); in ServerPort()
52 this.credentials = GrpcPreconditions.CheckNotNull(credentials, "credentials"); in ServerPort()
/third_party/grpc/src/csharp/Grpc.Core.Tests/Internal/
DFakeBufferReaderManager.cs42 GrpcPreconditions.CheckNotNull(dataSegments); in CreateMultiSegmentBufferReader()
46 GrpcPreconditions.CheckNotNull(data); in CreateMultiSegmentBufferReader()
88 GrpcPreconditions.CheckNotNull(bufferSegments); in TryGetNextSlice()
/third_party/grpc/src/csharp/Grpc.Core/Internal/
DCompletionRegistry.cs47 this.environment = GrpcPreconditions.CheckNotNull(environment); in CompletionRegistry()
48 this.batchContextFactory = GrpcPreconditions.CheckNotNull(batchContextFactory); in CompletionRegistry()
49 … this.requestCallContextFactory = GrpcPreconditions.CheckNotNull(requestCallContextFactory); in CompletionRegistry()
DAsyncCallServer.cs42 this.server = GrpcPreconditions.CheckNotNull(server); in AsyncCallServer()
69 GrpcPreconditions.CheckNotNull(call); in ServerSideCallAsync()
103 GrpcPreconditions.CheckNotNull(headers, "metadata"); in SendInitialMetadataAsync()
/third_party/grpc/src/csharp/Grpc.Core.Api/Interceptors/
DCallInvokerExtensions.cs66 GrpcPreconditions.CheckNotNull(invoker, nameof(invoker)); in Intercept()
67 GrpcPreconditions.CheckNotNull(interceptors, nameof(interceptors)); in Intercept()
106 this.interceptor = GrpcPreconditions.CheckNotNull(interceptor, nameof(interceptor)); in MetadataInterceptor()
/third_party/grpc/src/csharp/Grpc.Core.Api/Utils/
DGrpcPreconditions.cs57 public static T CheckNotNull<T>(T reference) in CheckNotNull() method in Grpc.Core.Utils.GrpcPreconditions
71 public static T CheckNotNull<T>(T reference, string paramName) in CheckNotNull() method in Grpc.Core.Utils.GrpcPreconditions

1234