summaryrefslogtreecommitdiff
path: root/src/vm/winrttypenameconverter.h
diff options
context:
space:
mode:
authorRyan Byington <ryanbyi@microsoft.com>2015-04-28 17:53:30 -0700
committerRyan Byington <ryanbyi@microsoft.com>2015-04-28 17:53:30 -0700
commitfb68f332e9123d74bd1cc7187be000bc3cbf67d2 (patch)
treee8aca912b70dd791502d977beb6262e264dda1e2 /src/vm/winrttypenameconverter.h
parent2fd35925a66be17a46467050751c309b93f2013b (diff)
downloadcoreclr-fb68f332e9123d74bd1cc7187be000bc3cbf67d2.tar.gz
coreclr-fb68f332e9123d74bd1cc7187be000bc3cbf67d2.tar.bz2
coreclr-fb68f332e9123d74bd1cc7187be000bc3cbf67d2.zip
Updating WinRT Projections to use Facades
WinRT projections currently depend on implementation assemblies like System.Uri living in System.dll. System.Uri has already been moved out of System.dll to Internal.Uri.dll which breaks the projection for System.Uri. This change updates the WinRT projection to understand Facades like System.Runtime to resolve System.Uri. When we load a type like System.Uri we need to know if it is a projected type. We currently do this by comparing the namespace plus type name and assembly however this only works because we know the implementation assembly at compile time. I am changing it so that we use ClassLoader to resolve the typedef and assembly and compare the resolved assembly with the current one. Also removing the cached assemblies as they don’t add a lot of value anymore. [tfs-changeset: 1461733]
Diffstat (limited to 'src/vm/winrttypenameconverter.h')
-rw-r--r--src/vm/winrttypenameconverter.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/vm/winrttypenameconverter.h b/src/vm/winrttypenameconverter.h
index 53cb5ebfe0..4648ccb15e 100644
--- a/src/vm/winrttypenameconverter.h
+++ b/src/vm/winrttypenameconverter.h
@@ -75,9 +75,8 @@ public :
// calculate the redirected type index at EEClass creation time.
//
static WinMDAdapter::RedirectedTypeIndex GetRedirectedTypeIndexByName(
- IMDInternalImport *pMDImport,
- mdTypeDef token,
- WinMDAdapter::FrameworkAssemblyIndex assemblyIndex);
+ Module *pModule,
+ mdTypeDef token);
public :
//==============================================================================================
// WinRT -> Managed