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