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