Skip to content

Conversation

@MichalStrehovsky
Copy link
Member

Baselines/annotates anything that needs baselining/annotating.

Baselines/annotates anything that needs baselining/annotating.
@ghost
Copy link

ghost commented Apr 5, 2022

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

Issue Details

Baselines/annotates anything that needs baselining/annotating.

Author: MichalStrehovsky
Assignees: MichalStrehovsky
Labels:

area-System.Reflection

Milestone: -

@MichalStrehovsky MichalStrehovsky mentioned this pull request Apr 8, 2022
2 tasks
Copy link
Contributor

@buyaa-n buyaa-n left a comment

Choose a reason for hiding this comment

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

LGTM


Assembly a = typeof(AssemblyNameTests).Assembly;
Assert.Equal(new AssemblyName(a.FullName).ToString(), AssemblyName.GetAssemblyName(AssemblyPathHelper.GetAssemblyLocation(a)).ToString());
if (!PlatformDetection.IsNativeAot)
Copy link
Member

Choose a reason for hiding this comment

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

This is generally incompatible with single-file. Would it be better to skip the test when AssemblyPathHelper.GetAssemblyLocation returns empty path?

Copy link
Contributor

Choose a reason for hiding this comment

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

Created #68980 to track this

@LakshanF LakshanF merged commit d88a613 into dotnet:main May 6, 2022
@MichalStrehovsky MichalStrehovsky deleted the sysreflect branch May 6, 2022 21:39
@ghost ghost locked as resolved and limited conversation to collaborators Jun 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants