16 references to BadImageFormatException
Mono.Cecil (2)
Mono.Cecil.PE\ImageReader.cs (2)
769
throw new
BadImageFormatException
(stream.value.GetFileName (), e);
793
throw new
BadImageFormatException
(stream.value.GetFileName (), e);
System.Private.CoreLib (6)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (6)
545
throw new
BadImageFormatException
(SR.BadImageFormat_TypeMismatch, eof);
549
throw new
BadImageFormatException
(SR.BadImageFormat_TypeMismatch, e);
627
throw new
BadImageFormatException
(SR.BadImageFormat_TypeMismatch, eof);
631
throw new
BadImageFormatException
(SR.BadImageFormat_TypeMismatch, e);
786
throw new
BadImageFormatException
(SR.BadImageFormat_ResourcesHeaderCorrupted, eof);
790
throw new
BadImageFormatException
(SR.BadImageFormat_ResourcesHeaderCorrupted, e);
System.Reflection.Metadata (2)
System\Reflection\PortableExecutable\PEReader.EmbeddedPortablePdb.cs (2)
87
throw new
BadImageFormatException
(SR.DataTooBig, e);
106
throw new
BadImageFormatException
(e.Message, e);
System.Resources.Extensions (6)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (6)
545
throw new
BadImageFormatException
(SR.BadImageFormat_TypeMismatch, eof);
549
throw new
BadImageFormatException
(SR.BadImageFormat_TypeMismatch, e);
627
throw new
BadImageFormatException
(SR.BadImageFormat_TypeMismatch, eof);
631
throw new
BadImageFormatException
(SR.BadImageFormat_TypeMismatch, e);
786
throw new
BadImageFormatException
(SR.BadImageFormat_ResourcesHeaderCorrupted, eof);
790
throw new
BadImageFormatException
(SR.BadImageFormat_ResourcesHeaderCorrupted, e);