10 references to FileFormatException
PresentationCore (10)
MS\Internal\FontFace\CompositeFontParser.cs (1)
942throw new FileFormatException(new Uri(fileName, UriKind.RelativeOrAbsolute), message, innerException);
src\Microsoft.DotNet.Wpf\src\Common\Graphics\wgx_render.cs (9)
805return new System.IO.FileFormatException(null, SR.Image_UnknownFormat, exceptionForHR); 846return new System.IO.FileFormatException(null, SR.Image_DecoderError, exceptionForHR); 849return new System.IO.FileFormatException(null, SR.Image_HeaderError, exceptionForHR); 879return new System.IO.FileFormatException(null, SR.Image_UnexpectedMetadataType, exceptionForHR); 882return new System.IO.FileFormatException(null, SR.Image_RequestOnlyValidAtMetadataRoot, exceptionForHR); 888return new System.IO.FileFormatException(null, SR.Image_DuplicateMetadataPresent, exceptionForHR); 891return new System.IO.FileFormatException(null, SR.Image_PropertyUnexpectedType, exceptionForHR); 894return new System.IO.FileFormatException(null, SR.Image_TooMuchMetadata, exceptionForHR); 906return new System.IO.FileFormatException(null, SR.Image_InvalidColorContext, exceptionForHR);