16 instantiations of FileFormatException
PresentationCore (16)
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (1)
1062throw new FileFormatException(new Uri(fileName));
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (2)
893throw new FileFormatException(new Uri(_reader.BaseURI, UriKind.RelativeOrAbsolute), x); 963throw new FileFormatException(new Uri(fileName, UriKind.RelativeOrAbsolute), message, innerException);
Core\CSharp\MS\Internal\FontFace\FontDriver.cs (3)
174throw new FileFormatException(SourceUri, e); 218throw new FileFormatException(SourceUri); 242throw new FileFormatException(SourceUri, e);
Core\CSharp\MS\Internal\Shaping\OpenTypeCommon.cs (1)
1020throw new FileFormatException();
Core\CSharp\MS\Internal\Shaping\OpenTypeLayout.cs (6)
175if ((offset + 1) >= m_length) throw new FileFormatException(); 186if ((offset + 1) >= m_length) throw new FileFormatException(); 197if ((offset + 3) >= m_length) throw new FileFormatException(); 208if ((offset+1)>=m_length) throw new FileFormatException(); 1333throw new FileFormatException(); 1349throw new FileFormatException();
Core\CSharp\MS\Internal\Shaping\Substitution.cs (1)
261throw new FileFormatException();
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (2)
186throw new System.IO.FileFormatException(typefaceSource); 190throw new System.IO.FileFormatException();
30 references to FileFormatException
PresentationCore (11)
Core\CSharp\MS\Internal\Shaping\OpenTypeLayout.cs (7)
369catch (FileFormatException) 386catch (FileFormatException) 426catch (FileFormatException) 444catch (FileFormatException) 978catch (FileFormatException) 1061catch (FileFormatException) 1203catch (FileFormatException)
Core\CSharp\MS\Internal\Shaping\OpenTypeLayoutCache.cs (1)
385catch (FileFormatException)
Core\CSharp\System\Windows\Media\FontFamily.cs (1)
565catch (FileFormatException)
Core\CSharp\System\Windows\Media\Imaging\BitmapImage.cs (1)
583catch (FileFormatException)
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (1)
1273catch (FileFormatException)
PresentationFramework (3)
src\Framework\MS\Internal\IO\Packaging\XpsFilter.cs (1)
442catch (FileFormatException ex)
src\Framework\System\Windows\ColorConvertedBitmapExtension.cs (1)
131catch (FileFormatException)
src\Framework\System\Windows\Documents\WpfPayload.cs (1)
365catch (System.IO.FileFormatException)
WindowsBase (16)
Base\MS\Internal\IO\Packaging\Certificate.cs (1)
98/// <exception cref="FileFormatException">stream is too large</exception>
Base\MS\Internal\IO\Packaging\CompoundFile\CompoundFileReference.cs (1)
175/// <exception cref="FileFormatException">Throws a FileFormatException if any formatting errors are encountered</exception>
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptionTransform.cs (6)
116/// <exception cref="FileFormatException"> 213/// <exception cref="FileFormatException"> 307/// <exception cref="FileFormatException"> 348/// <exception cref="FileFormatException"> 401/// <exception cref="FileFormatException"> 674/// <exception cref="FileFormatException">
Base\System\IO\Packaging\CompoundFile\DataSpaceManager.cs (3)
1607/// <exception cref="FileFormatException"> 1662/// <exception cref="FileFormatException"> 1685/// <exception cref="FileFormatException">
Base\System\IO\Packaging\RightsManagementInformation.cs (5)
66/// <exception cref="FileFormatException"> 88/// <exception cref="FileFormatException"> 114/// <exception cref="FileFormatException"> 140/// <exception cref="FileFormatException"> 159/// <exception cref="FileFormatException">