332 instantiations of BadImageFormatException
ILCompiler.Build.Tasks (3)
ILCompiler.Compiler (2)
ILCompiler.MetadataTransform (5)
ILCompiler.ReadyToRun (7)
ILCompiler.RyuJit (1)
ILCompiler.TypeSystem (16)
Microsoft.Build.Tasks.Core (5)
Microsoft.CodeAnalysis (16)
Microsoft.CodeAnalysis.Features (4)
Microsoft.Diagnostics.DataContractReader.Contracts (23)
Microsoft.Diagnostics.DataContractReader.Legacy (4)
Microsoft.NET.HostModel (1)
Mono.Cecil (9)
rzc (1)
System.Private.CoreLib (74)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (27)
184throw new BadImageFormatException(SR.BadImageFormat_NegativeStringLength);
339throw new BadImageFormatException(SR.BadImageFormat_NegativeStringLength);
348throw new BadImageFormatException(SR.BadImageFormat_ResourcesNameTooLong);
364throw new BadImageFormatException(SR.BadImageFormat_ResourceNameCorrupted);
387throw new BadImageFormatException(SR.BadImageFormat_NegativeStringLength);
393throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourcesIndexTooLong, index));
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);
704throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
711throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
718throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
732throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
744throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
758throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch);
786throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted, eof);
790throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted, e);
813throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
848throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
856throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
898throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
919throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
930throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
946throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
955throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
971throw new BadImageFormatException(SR.BadImageFormat_InvalidType);
System.Private.Reflection.Execution (3)
System.Private.StackTraceMetadata (2)
System.Private.TypeLoader (5)
System.Reflection.Metadata (95)
System.Reflection.MetadataLoadContext (23)
System.Resources.Extensions (33)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (27)
184throw new BadImageFormatException(SR.BadImageFormat_NegativeStringLength);
339throw new BadImageFormatException(SR.BadImageFormat_NegativeStringLength);
348throw new BadImageFormatException(SR.BadImageFormat_ResourcesNameTooLong);
364throw new BadImageFormatException(SR.BadImageFormat_ResourceNameCorrupted);
387throw new BadImageFormatException(SR.BadImageFormat_NegativeStringLength);
393throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourcesIndexTooLong, index));
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);
704throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
711throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
718throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
732throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
744throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
758throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch);
786throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted, eof);
790throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted, e);
813throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
848throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
856throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
898throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
919throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
930throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
946throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
955throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
971throw new BadImageFormatException(SR.BadImageFormat_InvalidType);
381 references to BadImageFormatException
Aspire.Hosting.RemoteHost (3)
Crossgen2Tasks (1)
dotnet-svcutil.xmlserializer (1)
ILCompiler.Compiler (2)
ILCompiler.ReadyToRun (1)
ILCompiler.RyuJit (1)
illink (2)
installer.tasks (1)
Microsoft.Build (1)
Microsoft.Build.Framework (1)
Microsoft.Build.Tasks.Core (9)
Microsoft.CodeAnalysis (195)
Microsoft.CodeAnalysis.CSharp (67)
Microsoft.CodeAnalysis.Features (8)
Microsoft.CodeAnalysis.VisualBasic (2)
Microsoft.CodeAnalysis.Workspaces (6)
Microsoft.DotNet.Build.Tasks.Packaging (1)
Microsoft.DotNet.PackageTesting (2)
Microsoft.DotNet.SharedFramework.Sdk (3)
Microsoft.NET.Build.Extensions.Tasks (2)
Microsoft.NET.Build.Tasks (4)
Microsoft.NET.HostModel (1)
Microsoft.NET.Sdk.Razor.Tasks (1)
Microsoft.VisualStudio.TestPlatform.ObjectModel (1)
Mono.Cecil (1)
MSBuild (2)
mscorlib (1)
netstandard (1)
PresentationFramework (2)
RepoTasks (1)
sdk-tasks (1)
System.ComponentModel.Composition (5)
System.Diagnostics.StackTrace (2)
System.Private.CoreLib (3)
System.Reflection.Metadata (39)
System.Resources.Extensions (1)
System.Runtime (1)
System.Speech (2)
System.Windows.Forms.Design (2)
UIAutomationClientSideProviders (1)