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)
545throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch, eof); 549throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch, e); 627throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch, eof); 631throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch, e); 786throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted, eof); 790throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted, e);
System.Reflection.Metadata (2)
System\Reflection\PortableExecutable\PEReader.EmbeddedPortablePdb.cs (2)
87throw new BadImageFormatException(SR.DataTooBig, e); 106throw new BadImageFormatException(e.Message, e);
System.Resources.Extensions (6)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (6)
545throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch, eof); 549throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch, e); 627throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch, eof); 631throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch, e); 786throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted, eof); 790throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted, e);