diff options
author | shion <tishion@users.noreply.github.com> | 2016-04-29 16:33:03 -0500 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2016-04-29 14:33:03 -0700 |
commit | 14ecf5a950b248d2499fc18be322f4f8c606e4c6 (patch) | |
tree | 8a056b6511708ab0a17a48d3b3c05b2432a93e65 /src/binder | |
parent | d7a09f7dd6578abeca118c07bb23fd17c470ccbf (diff) | |
download | coreclr-14ecf5a950b248d2499fc18be322f4f8c606e4c6.tar.gz coreclr-14ecf5a950b248d2499fc18be322f4f8c606e4c6.tar.bz2 coreclr-14ecf5a950b248d2499fc18be322f4f8c606e4c6.zip |
Add query handling of ICLRPrivResource for Assembly::CLRPrivResourceAssembly (#4562)
Diffstat (limited to 'src/binder')
-rw-r--r-- | src/binder/assembly.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/binder/assembly.cpp b/src/binder/assembly.cpp index f528128187..8fcc7cf54f 100644 --- a/src/binder/assembly.cpp +++ b/src/binder/assembly.cpp @@ -385,6 +385,12 @@ Exit: AddRef(); *ppv = this; } + else if (IsEqualIID(riid, __uuidof(ICLRPrivResource))) + { + AddRef(); + // upcasting is safe + *ppv = static_cast<ICLRPrivResource *>(this); + } else if (IsEqualIID(riid, __uuidof(ICLRPrivResourceAssembly))) { AddRef(); |