Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide ALC name in DispatchProxy for proxies in custom ALC #92385

Merged
merged 2 commits into from
Sep 22, 2023

Conversation

pedrobsaila
Copy link
Contributor

Fixes #82969

@ghost ghost added the community-contribution Indicates that the PR has been added by a community member label Sep 20, 2023
@ghost
Copy link

ghost commented Sep 20, 2023

Tagging subscribers to this area: @dotnet/area-system-reflection
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes #82969

Author: pedrobsaila
Assignees: -
Labels:

area-System.Reflection

Milestone: -

@@ -86,7 +86,6 @@ public void Ctor_String_Public_Key(string name, string expectedName)
[InlineData("", typeof(ArgumentException))]
[InlineData("\0", typeof(ArgumentException))]
[InlineData("\0a", typeof(ArgumentException))]
[InlineData("/a", typeof(FileLoadException))]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These tests should be replaced by positive tests

|| u16_strchr(pAssemblyNameParts->_pName, '\\') != NULL
|| u16_strchr(pAssemblyNameParts->_pName, ':') != NULL
|| u16_strchr(pAssemblyNameParts->_pName, '/') != NULL)
if (COMCharacter::nativeIsWhiteSpace(pAssemblyNameParts->_pName[0]))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete this check as well?

Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@jkotas jkotas merged commit b842334 into dotnet:main Sep 22, 2023
185 of 189 checks passed
@pedrobsaila pedrobsaila deleted the 82969 branch September 22, 2023 07:13
@ghost ghost locked as resolved and limited conversation to collaborators Oct 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Reflection community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide ALC name in DispatchProxy for proxies in custom ALC
2 participants