7 references to Format
System.Reflection.MetadataLoadContext (7)
System\Reflection\TypeLoading\General\Ecma\EcmaHelpers.cs (1)
77
throw new BadImageFormatException(SR.
Format
(SR.UnexpectedUnderlyingEnumType, enumType, type));
System\Reflection\TypeLoading\General\Ecma\EcmaResolver.cs (3)
89
return nestedType ?? throw new TypeLoadException(SR.Format(SR.
Format
(SR.TypeNotFound, outerType.ToString() + "[]", outerType.Assembly.FullName)));
105
throw new BadImageFormatException(SR.
Format
(SR.BadImageFormat_TypeRefModuleNotInManifest, module.Assembly.FullName, $"0x{handle.GetToken():x8}"));
114
throw new BadImageFormatException(SR.
Format
(SR.BadImageFormat_TypeRefBadScopeType, module.Assembly.FullName, $"0x{handle.GetToken():x8}"));
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\ThrowHelper.cs (1)
22
return new AmbiguousMatchException(SR.
Format
(SR.Arg_AmbiguousMatchException_MemberInfo, declaringType, memberInfo));