10 references to FileLoadException
Aspire.Hosting.RemoteHost.Tests (1)
ResolverDiagnosticsTests.cs (1)
98[new FileLoadException("synthetic loader exception: simulated Aspire.TypeSystem mismatch")]);
Microsoft.DotNet.Cli.CoreUtils (2)
Resources\ManagedAssemblyIdentity.cs (2)
153throw new FileLoadException( 174throw new FileLoadException(
System.Private.TypeLoader (1)
Internal\Reflection\Execution\AssemblyBinderImplementation.cs (1)
120preferredException = new FileLoadException(SR.Format(SR.FileLoadException_RefDefMismatch, refName.FullName, defName.Version, refName.Version));
System.Private.Xml (2)
System\Xml\Serialization\XmlSerializer.cs (2)
251throw new FileLoadException(SR.Format(SR.FailLoadAssemblyUnderPregenMode, serializerName)); 608throw 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);
System.Speech (1)
Internal\AlphabetConverter.cs (1)
207throw new FileLoadException(SR.Get(SRID.CannotLoadResourceFromManifest, resourceName, assembly.FullName));