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

Typename parsing cleanup #101767

Merged
merged 3 commits into from
May 6, 2024
Merged

Typename parsing cleanup #101767

merged 3 commits into from
May 6, 2024

Conversation

jkotas
Copy link
Member

@jkotas jkotas commented May 1, 2024

  • Remove unnecessary System.Type wrapper for type name parsing in tools. Create the type directly from the parsed name.
  • Rename S.R.TypeNameParser to S.R.TypeNameResolver to avoid name collisions with S.R.M.TypeNameParser
  • Move type name Unescape and Split helpers into dedicated helper type
  • Other cleanup

Copy link
Contributor

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

- Remove unnecessary System.Type wrapper for type name parsing in tools.
  Create the type directly from the parsed name.
- Rename S.R.TypeNameParser to S.R.TypeNameResolver to avoid name collisions
  with S.R.M.TypeNameParser
- Move type name Unescape and Split helpers into dedicated helper type
- Other cleanup
@jkotas
Copy link
Member Author

jkotas commented May 1, 2024

@MichalStrehovsky Could you please review this PR when you get a chance? The type name parsing in the managed type system is the most substantial change. It sets up the ground for replacing AssemblyName with AssemblyNameInfo in the managed type system.

@jkotas
Copy link
Member Author

jkotas commented May 1, 2024

/azp run runtime-nativeaot-outerloop

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@MichalStrehovsky
Copy link
Member

@MichalStrehovsky Could you please review this PR when you get a chance? The type name parsing in the managed type system is the most substantial change. It sets up the ground for replacing AssemblyName with AssemblyNameInfo in the managed type system.

There are test build failures, but otherwise looks reasonable to me, thanks for setting this towards a AssemblyNameInfo path!

@jkotas
Copy link
Member Author

jkotas commented May 2, 2024

/azp run runtime-nativeaot-outerloop

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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, thank you!

@jkotas jkotas merged commit 8a2e7e3 into dotnet:main May 6, 2024
146 of 149 checks passed
Copy link
Member

@adamsitnik adamsitnik left a comment

Choose a reason for hiding this comment

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

LGTM, thank you @jkotas!

michaelgsharp pushed a commit to michaelgsharp/runtime that referenced this pull request May 9, 2024
- Remove unnecessary System.Type wrapper for type name parsing in tools.
  Create the type directly from the parsed name.
- Rename S.R.TypeNameParser to S.R.TypeNameResolver to avoid name collisions
  with S.R.M.TypeNameParser
- Move type name Unescape and Split helpers into dedicated helper type
- Other cleanup
Ruihan-Yin pushed a commit to Ruihan-Yin/runtime that referenced this pull request May 30, 2024
- Remove unnecessary System.Type wrapper for type name parsing in tools.
  Create the type directly from the parsed name.
- Rename S.R.TypeNameParser to S.R.TypeNameResolver to avoid name collisions
  with S.R.M.TypeNameParser
- Move type name Unescape and Split helpers into dedicated helper type
- Other cleanup
@github-actions github-actions bot locked and limited conversation to collaborators Jun 5, 2024
@jkotas jkotas deleted the resolver branch June 24, 2024 14:02
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