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)
210
if (stream != null || wpfPayload.
_images
!= null)
239
Invariant.Assert(wpfPayload.
_images
== null); // must have beed cleared in CreateComponentParts
460
if (
_images
!= null)
462
for (int imageIndex = 0; imageIndex <
_images
.Count; imageIndex++)
464
Image image =
_images
[imageIndex];
528
if (
_images
== null)
540
for (int i = 0; i <
_images
.Count; i++)
542
if (ImagesAreIdentical(GetBitmapSourceFromImage(
_images
[i]), GetBitmapSourceFromImage(image)))
545
Invariant.Assert(imageContentType == GetImageContentType(
_images
[i].Source.ToString()), "Image content types expected to be consistent: " + imageContentType + " vs. " + GetImageContentType(
_images
[i].Source.ToString()));
556
imagePartUriString = GetImageName(
_images
.Count, imageContentType);
558
_images
.Add(image); // this will change _images.Count used for generating image parts names