Base:
8 references to ToString
PresentationFramework (8)
System\Windows\Documents\FixedSOMImage.cs (2)
58
imageUri = new Uri(imageSource.
ToString
(), UriKind.RelativeOrAbsolute);
79
imageUri = new Uri(imageSource.
ToString
(), UriKind.RelativeOrAbsolute);
System\Windows\Documents\TextRangeSerialization.cs (1)
1155
if (image.Source != null && !string.IsNullOrEmpty(image.Source.
ToString
()))
System\Windows\Documents\WpfPayload.cs (5)
437
string imageContentType = GetImageContentType(image.Source.
ToString
());
486
if (string.IsNullOrEmpty(image.Source.
ToString
()))
500
string imageContentType = GetImageContentType(image.Source.
ToString
());
508
Invariant.Assert(imageContentType == GetImageContentType(_images[i].Source.
ToString
()), $"Image content types expected to be consistent: {imageContentType} vs. {GetImageContentType(_images[i].Source.
ToString
())}");