diff options
author | Aaron Robinson <arobins@microsoft.com> | 2019-03-07 12:19:53 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-07 12:19:53 -0800 |
commit | 8b3c55c36531689c337df37f15eb5a40530fa42f (patch) | |
tree | c7e4c4954b6b461b3ecdb1e5f8e87a2f330ca33c /src/dlls | |
parent | f6cc0134fa4bb0d2f329ebc18c4eb662a5a5d973 (diff) | |
download | coreclr-8b3c55c36531689c337df37f15eb5a40530fa42f.tar.gz coreclr-8b3c55c36531689c337df37f15eb5a40530fa42f.tar.bz2 coreclr-8b3c55c36531689c337df37f15eb5a40530fa42f.zip |
Update error message for when a parent is marked as COMVisible(false) (#23092)
* Update message to include type and parent type marked as COMVisible(false)
Diffstat (limited to 'src/dlls')
-rw-r--r-- | src/dlls/mscorrc/mscorrc.rc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dlls/mscorrc/mscorrc.rc b/src/dlls/mscorrc/mscorrc.rc index 20612bbd7c..517c548bd7 100644 --- a/src/dlls/mscorrc/mscorrc.rc +++ b/src/dlls/mscorrc/mscorrc.rc @@ -907,7 +907,7 @@ BEGIN IDS_CLASSLOAD_CONSTRAINT_MISMATCH_ON_INTERFACE_METHOD_IMPL "Method '%3' on type '%1' from assembly '%2' tried to explicitly implement an interface method with weaker type parameter constraints." IDS_CLASSLOAD_EXPLICIT_GENERIC "Could not load type '%1' from assembly '%2' because generic types cannot have explicit layout." - IDS_EE_COM_INVISIBLE_PARENT "This type has a ComVisible(false) parent in its hierarchy, therefore QueryInterface calls for IDispatch or class interfaces are disallowed." + IDS_EE_COM_INVISIBLE_PARENT "Type '%1' has a ComVisible(false) parent '%2' in its hierarchy, therefore QueryInterface calls for IDispatch or class interfaces are disallowed." IDS_EE_COMIMPORT_METHOD_NO_INTERFACE "Method '%1' in ComImport class '%2' must implement an interface method." IDS_EE_ATTEMPT_TO_CREATE_GENERIC_CCW "Generic types cannot be marshaled to COM interface pointers." |