242 instantiations of BadImageFormatException
BuildValidator (1)
Microsoft.Build.Tasks.Core (5)
Microsoft.Build.Tasks.UnitTests (4)
Microsoft.CodeAnalysis (12)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (3)
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (2)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.Test.Utilities (11)
Microsoft.VisualStudio.LanguageServices (1)
Roslyn.Test.PdbUtilities (1)
System.Private.CoreLib (49)
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (27)
188throw new BadImageFormatException(SR.BadImageFormat_NegativeStringLength);
343throw new BadImageFormatException(SR.BadImageFormat_NegativeStringLength);
352throw new BadImageFormatException(SR.BadImageFormat_ResourcesNameTooLong);
368throw new BadImageFormatException(SR.BadImageFormat_ResourceNameCorrupted);
391throw new BadImageFormatException(SR.BadImageFormat_NegativeStringLength);
397throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourcesIndexTooLong, index));
549throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch, eof);
553throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch, e);
631throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch, eof);
635throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch, e);
708throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
715throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
722throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
736throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
748throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
762throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch);
790throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted, eof);
794throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted, e);
817throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
852throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
860throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
902throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
923throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
934throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
950throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
959throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
975throw new BadImageFormatException(SR.BadImageFormat_InvalidType);
System.Reflection.Metadata (95)
System.Reflection.MetadataLoadContext (23)
System.Resources.Extensions (33)
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (27)
188throw new BadImageFormatException(SR.BadImageFormat_NegativeStringLength);
343throw new BadImageFormatException(SR.BadImageFormat_NegativeStringLength);
352throw new BadImageFormatException(SR.BadImageFormat_ResourcesNameTooLong);
368throw new BadImageFormatException(SR.BadImageFormat_ResourceNameCorrupted);
391throw new BadImageFormatException(SR.BadImageFormat_NegativeStringLength);
397throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourcesIndexTooLong, index));
549throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch, eof);
553throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch, e);
631throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch, eof);
635throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch, e);
708throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
715throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
722throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
736throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
748throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
762throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch);
790throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted, eof);
794throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted, e);
817throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
852throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
860throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
902throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
923throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
934throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
950throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
959throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
975throw new BadImageFormatException(SR.BadImageFormat_InvalidType);
System.Windows.Forms.Design.Tests (1)
411 references to BadImageFormatException
Crossgen2Tasks (1)
dotnet-svcutil.xmlserializer (1)
illink (2)
installer.tasks (2)
Microsoft.Build (2)
Microsoft.Build.Engine.OM.UnitTests (1)
Microsoft.Build.Tasks.Core (10)
Microsoft.Build.Utilities.Core (1)
Microsoft.CodeAnalysis (193)
Microsoft.CodeAnalysis.CSharp (65)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (21)
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (2)
Microsoft.CodeAnalysis.Features (7)
Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests (1)
Microsoft.CodeAnalysis.Test.Utilities (1)
Microsoft.CodeAnalysis.UnitTests (6)
Microsoft.CodeAnalysis.VisualBasic (2)
Microsoft.CodeAnalysis.VisualBasic.ExpressionCompiler (3)
Microsoft.CodeAnalysis.Workspaces (6)
Microsoft.DotNet.Build.Tasks.Packaging (1)
Microsoft.DotNet.PackageTesting (2)
Microsoft.DotNet.SharedFramework.Sdk (3)
Microsoft.DotNet.SignTool (2)
Microsoft.VisualStudio.LanguageServices (5)
MSBuild (3)
MSBuildTaskHost (2)
mscorlib (1)
netstandard (1)
PresentationFramework (2)
Roslyn.Test.PdbUtilities (2)
System.ComponentModel.Composition (5)
System.Diagnostics.StackTrace (2)
System.Private.CoreLib (6)
System.Private.Windows.Core (1)
System.Reflection.Metadata (39)
System.Resources.Extensions (1)
System.Runtime (1)
System.Windows.Forms.Design (2)
UIAutomationClientSideProviders (1)