Skip to content

Conversation

@pedrobsaila
Copy link
Contributor

Fixes #82969

@ghost ghost added area-System.Reflection community-contribution Indicates that the PR has been added by a community member labels 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: -

[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
@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