240 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)
191throw new BadImageFormatException(SR.BadImageFormat_NegativeStringLength);
346throw new BadImageFormatException(SR.BadImageFormat_NegativeStringLength);
355throw new BadImageFormatException(SR.BadImageFormat_ResourcesNameTooLong);
371throw new BadImageFormatException(SR.BadImageFormat_ResourceNameCorrupted);
394throw new BadImageFormatException(SR.BadImageFormat_NegativeStringLength);
400throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourcesIndexTooLong, index));
552throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch, eof);
556throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch, e);
634throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch, eof);
638throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch, e);
711throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
718throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
725throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
739throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
751throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
765throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch);
793throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted, eof);
797throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted, e);
820throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
855throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
863throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
905throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
926throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
937throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
953throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
962throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
978throw new BadImageFormatException(SR.BadImageFormat_InvalidType);
System.Reflection.Metadata (93)
System.Reflection.MetadataLoadContext (23)
System.Resources.Extensions (33)
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (27)
191throw new BadImageFormatException(SR.BadImageFormat_NegativeStringLength);
346throw new BadImageFormatException(SR.BadImageFormat_NegativeStringLength);
355throw new BadImageFormatException(SR.BadImageFormat_ResourcesNameTooLong);
371throw new BadImageFormatException(SR.BadImageFormat_ResourceNameCorrupted);
394throw new BadImageFormatException(SR.BadImageFormat_NegativeStringLength);
400throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourcesIndexTooLong, index));
552throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch, eof);
556throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch, e);
634throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch, eof);
638throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch, e);
711throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
718throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
725throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
739throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
751throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResourceDataLengthInvalid, len));
765throw new BadImageFormatException(SR.BadImageFormat_TypeMismatch);
793throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted, eof);
797throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted, e);
820throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
855throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
863throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
905throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
926throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
937throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
953throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
962throw new BadImageFormatException(SR.BadImageFormat_ResourcesHeaderCorrupted);
978throw new BadImageFormatException(SR.BadImageFormat_InvalidType);
System.Windows.Forms.Design.Tests (1)
410 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 (64)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
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 (6)
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)