-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[VisualBasic] Fix TypeName for COM objects (#40584)
* Initial try of TypeName for ComObjects on Windows * Implemented TypeNameOfCOMObject to use in Versioned.TypeName * Separated tests of the TypeName for COM objects * Utils.VBFriendlyName now matches reference source * Moved TypeName for COM objects tests to VersionedTests * Added ILLinkTrim.xml as a temporary solution as comented on #35937 * UnsafeNativeMethods are only available on Windows * Test refactoration * Skip COM interop test on Mono * Explicit types in ILLinkTrim.xml * Call GetTypeFromProgID with throwOnError true * Disabled TypeName_ComObject test on Windows Nano
- Loading branch information
Showing
6 changed files
with
359 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<linker> | ||
<assembly fullname="Microsoft.VisualBasic.Core"> | ||
<!-- Workaround for https://github.com/mono/linker/issues/378 --> | ||
<type fullname="Microsoft.VisualBasic.CompilerServices.UnsafeNativeMethods/IDispatch"/> | ||
<type fullname="Microsoft.VisualBasic.CompilerServices.UnsafeNativeMethods/IProvideClassInfo"/> | ||
<type fullname="Microsoft.VisualBasic.CompilerServices.UnsafeNativeMethods/ITypeInfo"/> | ||
</assembly> | ||
</linker> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.