10 references to FileFormatException
PresentationCore (10)
MS\Internal\FontFace\CompositeFontParser.cs (1)
954
throw new
FileFormatException
(new Uri(fileName, UriKind.RelativeOrAbsolute), message, innerException);
src\Microsoft.DotNet.Wpf\src\Common\Graphics\wgx_render.cs (9)
813
return new System.IO.
FileFormatException
(null, SR.Image_UnknownFormat, exceptionForHR);
854
return new System.IO.
FileFormatException
(null, SR.Image_DecoderError, exceptionForHR);
857
return new System.IO.
FileFormatException
(null, SR.Image_HeaderError, exceptionForHR);
887
return new System.IO.
FileFormatException
(null, SR.Image_UnexpectedMetadataType, exceptionForHR);
890
return new System.IO.
FileFormatException
(null, SR.Image_RequestOnlyValidAtMetadataRoot, exceptionForHR);
896
return new System.IO.
FileFormatException
(null, SR.Image_DuplicateMetadataPresent, exceptionForHR);
899
return new System.IO.
FileFormatException
(null, SR.Image_PropertyUnexpectedType, exceptionForHR);
902
return new System.IO.
FileFormatException
(null, SR.Image_TooMuchMetadata, exceptionForHR);
914
return new System.IO.
FileFormatException
(null, SR.Image_InvalidColorContext, exceptionForHR);