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)
207
if (stream != null || wpfPayload.
_images
!= null)
236
Invariant.Assert(wpfPayload.
_images
== null); // must have beed cleared in CreateComponentParts
436
if (
_images
!= null)
438
for (int imageIndex = 0; imageIndex <
_images
.Count; imageIndex++)
440
Image image =
_images
[imageIndex];
497
if (
_images
== null)
509
for (int i = 0; i <
_images
.Count; i++)
511
if (ImagesAreIdentical(GetBitmapSourceFromImage(
_images
[i]), GetBitmapSourceFromImage(image)))
514
Invariant.Assert(imageContentType == GetImageContentType(
_images
[i].Source.ToString()), $"Image content types expected to be consistent: {imageContentType} vs. {GetImageContentType(
_images
[i].Source.ToString())}");
525
imagePartUriString = GetImageName(
_images
.Count, imageContentType);
527
_images
.Add(image); // this will change _images.Count used for generating image parts names