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