16 instantiations of FileFormatException
PresentationCore (16)
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (1)
1062
throw new
FileFormatException
(new Uri(fileName));
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (2)
893
throw new
FileFormatException
(new Uri(_reader.BaseURI, UriKind.RelativeOrAbsolute), x);
963
throw new
FileFormatException
(new Uri(fileName, UriKind.RelativeOrAbsolute), message, innerException);
Core\CSharp\MS\Internal\FontFace\FontDriver.cs (3)
174
throw new
FileFormatException
(SourceUri, e);
218
throw new
FileFormatException
(SourceUri);
242
throw new
FileFormatException
(SourceUri, e);
Core\CSharp\MS\Internal\Shaping\OpenTypeCommon.cs (1)
1020
throw new
FileFormatException
();
Core\CSharp\MS\Internal\Shaping\OpenTypeLayout.cs (6)
175
if ((offset + 1) >= m_length) throw new
FileFormatException
();
186
if ((offset + 1) >= m_length) throw new
FileFormatException
();
197
if ((offset + 3) >= m_length) throw new
FileFormatException
();
208
if ((offset+1)>=m_length) throw new
FileFormatException
();
1333
throw new
FileFormatException
();
1349
throw new
FileFormatException
();
Core\CSharp\MS\Internal\Shaping\Substitution.cs (1)
261
throw new
FileFormatException
();
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (2)
186
throw new System.IO.
FileFormatException
(typefaceSource);
190
throw new System.IO.
FileFormatException
();
30 references to FileFormatException
PresentationCore (11)
Core\CSharp\MS\Internal\Shaping\OpenTypeLayout.cs (7)
369
catch (
FileFormatException
)
386
catch (
FileFormatException
)
426
catch (
FileFormatException
)
444
catch (
FileFormatException
)
978
catch (
FileFormatException
)
1061
catch (
FileFormatException
)
1203
catch (
FileFormatException
)
Core\CSharp\MS\Internal\Shaping\OpenTypeLayoutCache.cs (1)
385
catch (
FileFormatException
)
Core\CSharp\System\Windows\Media\FontFamily.cs (1)
565
catch (
FileFormatException
)
Core\CSharp\System\Windows\Media\Imaging\BitmapImage.cs (1)
583
catch (
FileFormatException
)
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (1)
1273
catch (
FileFormatException
)
PresentationFramework (3)
src\Framework\MS\Internal\IO\Packaging\XpsFilter.cs (1)
442
catch (
FileFormatException
ex)
src\Framework\System\Windows\ColorConvertedBitmapExtension.cs (1)
131
catch (
FileFormatException
)
src\Framework\System\Windows\Documents\WpfPayload.cs (1)
365
catch (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
">