2 writes to _images
PresentationFramework (2)
src\Framework\System\Windows\Documents\WpfPayload.cs (2)
473_images = null; 530_images = new List<Image>();
12 references to _images
PresentationFramework (12)
src\Framework\System\Windows\Documents\WpfPayload.cs (12)
210if (stream != null || wpfPayload._images != null) 239Invariant.Assert(wpfPayload._images == null); // must have beed cleared in CreateComponentParts 460if (_images != null) 462for (int imageIndex = 0; imageIndex < _images.Count; imageIndex++) 464Image image = _images[imageIndex]; 528if (_images == null) 540for (int i = 0; i < _images.Count; i++) 542if (ImagesAreIdentical(GetBitmapSourceFromImage(_images[i]), GetBitmapSourceFromImage(image))) 545Invariant.Assert(imageContentType == GetImageContentType(_images[i].Source.ToString()), "Image content types expected to be consistent: " + imageContentType + " vs. " + GetImageContentType(_images[i].Source.ToString())); 556imagePartUriString = GetImageName(_images.Count, imageContentType); 558_images.Add(image); // this will change _images.Count used for generating image parts names