Lines Matching refs:destination
162 …private void Merge(FieldMaskTree tree, IMessage source, IMessage destination, FieldMask.MergeOptio… in Merge() argument
170 newDestination.MergeFrom(destination.ToByteString()); in Merge()
175 foreach (var fieldDescriptor in destination.Descriptor.Fields.InFieldNumberOrder()) in Merge()
177 fieldDescriptor.Accessor.Clear(destination); in Merge()
179 destination.MergeFrom(newDestination.ToByteString()); in Merge()
183 tree.Merge(source, destination, options); in Merge()
219 NestedTestAllTypes destination = new NestedTestAllTypes(); in Merge()
221 source, destination, options, useDynamicMessage); in Merge()
229 Assert.AreEqual(expected, destination); in Merge()
231 destination = new NestedTestAllTypes(); in Merge()
233 source, destination, options, useDynamicMessage); in Merge()
241 Assert.AreEqual(expected, destination); in Merge()
243 destination = new NestedTestAllTypes(); in Merge()
245 source, destination, options, useDynamicMessage); in Merge()
253 Assert.AreEqual(expected, destination); in Merge()
255 destination = new NestedTestAllTypes(); in Merge()
257 source, destination, options, useDynamicMessage); in Merge()
265 Assert.AreEqual(expected, destination); in Merge()
267 destination = new NestedTestAllTypes(); in Merge()
271 destination, in Merge()
284 Assert.AreEqual(expected, destination); in Merge()
286 destination = new NestedTestAllTypes(); in Merge()
290 destination, in Merge()
303 Assert.AreEqual(expected, destination); in Merge()
305 destination = new NestedTestAllTypes(); in Merge()
307 source, destination, options, useDynamicMessage); in Merge()
318 Assert.AreEqual(expected, destination); in Merge()
320 destination = new NestedTestAllTypes(); in Merge()
322 source, destination, options, useDynamicMessage); in Merge()
333 Assert.AreEqual(expected, destination); in Merge()
335 destination = new NestedTestAllTypes(); in Merge()
337 source, destination, options, useDynamicMessage); in Merge()
338 Assert.AreEqual(source, destination); in Merge()
341 destination = new NestedTestAllTypes in Merge()
349 source, destination, options, useDynamicMessage); in Merge()
351 Assert.AreEqual(2, destination.Payload.RepeatedInt32.Count); in Merge()
352 Assert.AreEqual(1000, destination.Payload.RepeatedInt32[0]); in Merge()
353 Assert.AreEqual(4321, destination.Payload.RepeatedInt32[1]); in Merge()
357 source, destination, options, useDynamicMessage); in Merge()
358 Assert.AreEqual(1, destination.Payload.RepeatedInt32.Count); in Merge()
359 Assert.AreEqual(4321, destination.Payload.RepeatedInt32[0]); in Merge()
362 destination = new NestedTestAllTypes in Merge()
371 source, destination, options, useDynamicMessage); in Merge()
373 Assert.AreEqual(1234, destination.Payload.SingleInt32); in Merge()
374 Assert.AreEqual(2000, destination.Payload.SingleUint32); in Merge()
379 destination = new NestedTestAllTypes(); in Merge()
381 clearedSource, destination, options, useDynamicMessage); in Merge()
382 Assert.IsNull(destination.Payload); in Merge()
385 destination = new NestedTestAllTypes(); in Merge()
387 clearedSource, destination, options, useDynamicMessage); in Merge()
388 Assert.IsNull(destination.Payload); in Merge()
392 destination = new NestedTestAllTypes in Merge()
401 source, destination, options, useDynamicMessage); in Merge()
402 Assert.AreEqual(1234, destination.Payload.SingleInt32); in Merge()
403 Assert.AreEqual(0, destination.Payload.SingleUint32); in Merge()
406 destination = new NestedTestAllTypes in Merge()
415 clearedSource, destination, options, useDynamicMessage); in Merge()
416 Assert.IsNull(destination.Payload); in Merge()
419 destination = source.Clone(); in Merge()
420 destination.Payload.SingleInt32 = 0; in Merge()
421 NestedTestAllTypes sourceWithPayloadInt32Unset = destination; in Merge()
422 destination = source.Clone(); in Merge()
424 sourceWithPayloadInt32Unset, destination, options, useDynamicMessage); in Merge()
425 Assert.AreEqual(0, destination.Payload.SingleInt32); in Merge()
429 destination = source.Clone(); in Merge()
431 sourceWithPayloadInt32Unset, destination, options, useDynamicMessage); in Merge()
432 Assert.IsNotNull(destination.Payload); in Merge()