8 instantiations of FileLoadException
PresentationCore (1)
src\Microsoft.DotNet.Wpf\src\Common\Graphics\wgx_render.cs (1)
807return new System.IO.FileLoadException(SR.MilErr_UnsupportedVersion, exceptionForHR);
System.Private.CoreLib (2)
src\libraries\Common\src\System\Reflection\AssemblyNameParser.cs (1)
84throw new FileLoadException(SR.InvalidAssemblyName, name.ToString());
src\libraries\System.Reflection.Metadata\src\System\Reflection\Metadata\TypeNameParser.cs (1)
205throw new IO.FileLoadException(SR.InvalidAssemblyName, _inputString.ToString());
System.Private.Xml (2)
System\Xml\Serialization\XmlSerializer.cs (2)
251throw new FileLoadException(SR.Format(SR.FailLoadAssemblyUnderPregenMode, serializerName)); 604throw new FileLoadException(SR.Format(SR.FailLoadAssemblyUnderPregenMode, serializerName));
System.Reflection.MetadataLoadContext (3)
System\Reflection\MetadataLoadContext.Loading.cs (1)
57throw new FileLoadException(SR.Format(SR.FileLoadDuplicateAssemblies, defName));
System\Reflection\MetadataLoadContext.Resolving.cs (1)
67throw new FileLoadException(SR.ExternalAssemblyReturnedByMetadataAssemblyResolver);
System\Reflection\TypeLoading\Assemblies\Ecma\EcmaAssembly.Modules.cs (1)
29throw new FileLoadException(SR.ModuleResolveEventReturnedExternalModule);
27 references to FileLoadException
dotnet-svcutil-lib (1)
CommandProcessorOptions.cs (1)
183catch (FileLoadException fle)
Microsoft.Build.Framework (1)
Telemetry\OpenTelemetryManager.cs (1)
105catch (Exception ex) when (ex is System.IO.FileNotFoundException or System.IO.FileLoadException)
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (5)
InteractiveSessionReferencesTests.cs (5)
763catch (FileLoadException fileLoadEx) when (fileLoadEx.InnerException is InteractiveAssemblyLoaderException) 831catch (FileLoadException fileLoadEx) when (fileLoadEx.InnerException is InteractiveAssemblyLoaderException) 899catch (FileLoadException fileLoadEx) when (fileLoadEx.InnerException is InteractiveAssemblyLoaderException) 967catch (FileLoadException fileLoadEx) when (fileLoadEx.InnerException is InteractiveAssemblyLoaderException) 1035catch (FileLoadException fileLoadEx) when (fileLoadEx.InnerException is InteractiveAssemblyLoaderException)
Microsoft.CodeAnalysis.InteractiveHost (1)
Interactive\Core\InteractiveHost.Service.cs (1)
393if (e is FileLoadException && e.InnerException is InteractiveAssemblyLoaderException)
Microsoft.CodeAnalysis.Scripting (1)
Hosting\CommandLine\CommandLineRunner.cs (1)
348if (e is FileLoadException && e.InnerException is InteractiveAssemblyLoaderException)
Microsoft.CodeAnalysis.UnitTests (1)
MetadataReferences\FusionAssemblyIdentityTests.cs (1)
224Assert.Throws<FileLoadException>(() => name.FullName);
Microsoft.VisualStudio.LanguageServices (1)
ProjectSystem\MetadataReferences\VisualStudioFrameworkAssemblyPathResolverFactory.cs (1)
96catch (FileLoadException)
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
323[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.IO.FileLoadException))]
netstandard (1)
netstandard.cs (1)
918[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.IO.FileLoadException))]
PresentationFramework (2)
System\Windows\Documents\Serialization\SerializerProvider.cs (1)
160catch (FileLoadException)
System\Windows\Documents\WpfPayload.cs (1)
345catch (System.IO.FileLoadException)
System.ComponentModel.Composition (5)
System\ComponentModel\Composition\Hosting\AssemblyCatalog.cs (4)
57/// <exception cref="FileLoadException "> 113/// <exception cref="FileLoadException "> 170/// <exception cref="FileLoadException "> 234/// <exception cref="FileLoadException ">
System\ComponentModel\Composition\Hosting\DirectoryCatalog.cs (1)
675catch (FileLoadException ex)
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\BadImageFormatException.cs (1)
87_message = FileLoadException.FormatFileLoadExceptionMessage(_fileName, HResult);
src\libraries\System.Private.CoreLib\src\System\IO\FileNotFoundException.cs (1)
66_message = FileLoadException.FormatFileLoadExceptionMessage(FileName, HResult);
src\libraries\System.Private.CoreLib\src\System\Resources\ManifestBasedResourceGroveler.cs (1)
373catch (FileLoadException)
System.Private.Windows.Core (1)
System\Private\Windows\BinaryFormat\Deserializer\DefaultTypeResolver.cs (1)
102catch (FileLoadException) { }
System.Resources.Extensions (1)
System\Resources\Extensions\BinaryFormat\BinaryFormattedObject.TypeResolver.cs (1)
100catch (FileLoadException) { }
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
305[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.IO.FileLoadException))]
System.Xaml (1)
System\Xaml\MS\Impl\XmlNsInfo.cs (1)
296catch (FileLoadException ex)