6 references to ToUtf16
System.Reflection.MetadataLoadContext (6)
System\Reflection\TypeLoading\General\Ecma\EcmaSignatureTypeProviderForToString.cs (2)
80return 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)
62e = new TypeLoadException(SR.Format(SR.TypeNotFound, ns.ToUtf16().AppendTypeName(name.ToUtf16()), FullyQualifiedName));
System\Reflection\TypeLoading\Modules\RoResourceModule.cs (2)
56e = new TypeLoadException(SR.Format(SR.TypeNotFound, ns.ToUtf16().AppendTypeName(name.ToUtf16()), Assembly));