24 references to TypeLoadException
ErrorPageMiddlewareWebSite (1)
ErrorPageMiddlewareController.cs (1)
37new[] { new TypeLoadException("Custom Loader Exception.") });
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\CompilerServices\ExceptionUtils.vb (1)
251Return New TypeLoadException(Description)
System.ComponentModel.TypeConverter (1)
System\ComponentModel\Design\PropertyTabAttribute.cs (1)
134throw new TypeLoadException(SR.Format(SR.PropertyTabAttributeTypeLoadException, className));
System.Configuration.ConfigurationManager (2)
System\Configuration\TypeUtil.cs (2)
151throw new TypeLoadException(SR.Format(SR.TypeNotPublic, type.AssemblyQualifiedName)); 163throw new TypeLoadException(
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\DllNotFoundException.cs (2)
18: base(SR.Arg_DllNotFoundException) 24: base(message ?? SR.Arg_DllNotFoundException)
src\libraries\System.Private.CoreLib\src\System\EntryPointNotFoundException.cs (2)
18: base(SR.Arg_EntryPointNotFoundException) 24: base(message ?? SR.Arg_EntryPointNotFoundException)
src\libraries\System.Private.CoreLib\src\System\TypeAccessException.cs (2)
17: base(SR.Arg_TypeAccessException) 23: base(message ?? SR.Arg_TypeAccessException)
src\System\Reflection\TypeNameResolver.CoreCLR.cs (2)
55throw new TypeLoadException(SR.Arg_TypeLoadNullStr); 145throw new TypeLoadException(SR.Arg_TypeLoadNullStr);
System.Reflection.MetadataLoadContext (7)
System\Reflection\TypeLoading\General\Assignability.cs (4)
259return coreTypes[CoreType.SByte] ?? throw new TypeLoadException(SR.Format(SR.CoreTypeNotFound, "System.SByte")); 262return coreTypes[CoreType.Int16] ?? throw new TypeLoadException(SR.Format(SR.CoreTypeNotFound, "System.Int16")); 265return coreTypes[CoreType.Int32] ?? throw new TypeLoadException(SR.Format(SR.CoreTypeNotFound, "System.Int32")); 268return coreTypes[CoreType.Int64] ?? throw new TypeLoadException(SR.Format(SR.CoreTypeNotFound, "System.Int64"));
System\Reflection\TypeLoading\General\Ecma\EcmaResolver.cs (1)
89return nestedType ?? throw new TypeLoadException(SR.Format(SR.Format(SR.TypeNotFound, outerType.ToString() + "[]", outerType.Assembly.FullName)));
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.GetTypeCore.cs (1)
62e = new TypeLoadException(SR.Format(SR.TypeNotFound, ns.ToUtf16().AppendTypeName(name.ToUtf16()), FullyQualifiedName));
System\Reflection\TypeLoading\Modules\RoResourceModule.cs (1)
56e = new TypeLoadException(SR.Format(SR.TypeNotFound, ns.ToUtf16().AppendTypeName(name.ToUtf16()), Assembly));
System.Resources.Extensions (3)
System\Resources\Extensions\DeserializingResourceReader.cs (2)
174throw new TypeLoadException(SR.Format(SR.TypeLoadException_CannotLoadConverter, type)); 188throw new TypeLoadException(SR.Format(SR.TypeLoadException_CannotLoadConverter, type));
System\Resources\Extensions\PreserializedResourceWriter.cs (1)
95throw new TypeLoadException(SR.Format(SR.TypeLoadException_CannotLoadConverter, primitiveType));
System.Windows.Forms (1)
System\Resources\ResXDataNode.cs (1)
618throw new TypeLoadException(string.Format(SR.TypeLoadExceptionShort, FileRefType));