Skip to content

Typename parsing cleanup#101767

Merged
jkotas merged 3 commits into
dotnet:mainfrom
jkotas:resolver
May 6, 2024
Merged

Typename parsing cleanup#101767
jkotas merged 3 commits into
dotnet:mainfrom
jkotas:resolver

Conversation

@jkotas

@jkotas jkotas commented May 1, 2024

Copy link
Copy Markdown
Member
  • 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

@dotnet-policy-service

Copy link
Copy Markdown
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

jkotas commented May 1, 2024

Copy link
Copy Markdown
Member Author

@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

jkotas commented May 1, 2024

Copy link
Copy Markdown
Member Author

/azp run runtime-nativeaot-outerloop

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@MichalStrehovsky

Copy link
Copy Markdown
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

jkotas commented May 2, 2024

Copy link
Copy Markdown
Member Author

/azp run runtime-nativeaot-outerloop

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@buyaa-n buyaa-n left a comment

Copy link
Copy Markdown
Contributor

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

@adamsitnik adamsitnik left a comment

Copy link
Copy Markdown
Member

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