6 references to ToUtf16
System.Reflection.MetadataLoadContext (6)
System\Reflection\TypeLoading\General\Ecma\EcmaSignatureTypeProviderForToString.cs (2)
80
return ns.
ToUtf16
() + "." + name.
ToUtf16
(); // This is not safe for types outside of a namespace, but all primitive types are known to be in "System"
System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.GetTypeCore.cs (2)
62
e = new TypeLoadException(SR.Format(SR.TypeNotFound, ns.
ToUtf16
().AppendTypeName(name.
ToUtf16
()), FullyQualifiedName));
System\Reflection\TypeLoading\Modules\RoResourceModule.cs (2)
56
e = new TypeLoadException(SR.Format(SR.TypeNotFound, ns.
ToUtf16
().AppendTypeName(name.
ToUtf16
()), Assembly));