2 writes to _images
PresentationFramework (2)
System\Windows\Documents\WpfPayload.cs (2)
449_images = null; 499_images = new List<Image>();
12 references to _images
PresentationFramework (12)
System\Windows\Documents\WpfPayload.cs (12)
207if (stream != null || wpfPayload._images != null) 236Invariant.Assert(wpfPayload._images == null); // must have beed cleared in CreateComponentParts 436if (_images != null) 438for (int imageIndex = 0; imageIndex < _images.Count; imageIndex++) 440Image image = _images[imageIndex]; 497if (_images == null) 509for (int i = 0; i < _images.Count; i++) 511if (ImagesAreIdentical(GetBitmapSourceFromImage(_images[i]), GetBitmapSourceFromImage(image))) 514Invariant.Assert(imageContentType == GetImageContentType(_images[i].Source.ToString()), $"Image content types expected to be consistent: {imageContentType} vs. {GetImageContentType(_images[i].Source.ToString())}"); 525imagePartUriString = GetImageName(_images.Count, imageContentType); 527_images.Add(image); // this will change _images.Count used for generating image parts names