-
Notifications
You must be signed in to change notification settings - Fork 5k
Use new TypeName methods in runtime tools #115857
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
Conversation
Co-authored-by: MichalStrehovsky <13110571+MichalStrehovsky@users.noreply.github.com>
src/coreclr/tools/Common/TypeSystem/Common/Utilities/CustomAttributeTypeNameParser.cs
Outdated
Show resolved
Hide resolved
src/coreclr/tools/Common/TypeSystem/Common/Utilities/CustomAttributeTypeNameParser.cs
Outdated
Show resolved
Hide resolved
…NameParser.cs Co-authored-by: MichalStrehovsky <13110571+MichalStrehovsky@users.noreply.github.com>
You missed removing a reference to the now-deleted Common/src/System/Reflection/Metadata/TypeNameHelpers.cs file. There's a build break:
|
Co-authored-by: MichalStrehovsky <13110571+MichalStrehovsky@users.noreply.github.com>
... Fixed in commit 5b7f26b by removing the reference to TypeNameHelpers.cs from ILVerification.projitems. Warning Firewall rules blocked me from connecting to one or more addressesI tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
src/coreclr/tools/Common/TypeSystem/Common/Utilities/CustomAttributeTypeNameParser.cs
Show resolved
Hide resolved
Co-authored-by: MichalStrehovsky <13110571+MichalStrehovsky@users.noreply.github.com>
LGTM. Cc @dotnet/ilc-contrib for review since I apparently cannot sigoff myself. |
/ba-g infrastructure timeout |
Replace the usage of the TypeNameHelpers utility class with the newer TypeName class methods and properties in the runtime tools. Co-authored-by: MichalStrehovsky <13110571+MichalStrehovsky@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
This PR replaces the usage of the now-deprecated
TypeNameHelpers
utility class with the newerTypeName
class methods and properties in the runtime tools. The changes include:TypeNameHelpers.cs
file fromsrc/libraries/Common/src/System/Reflection/Metadata
ILCompiler.TypeSystem.csproj
ILCompiler.Trimming.Tests.csproj
ILCompiler.Compiler.csproj
Mono.Linker.csproj
TypeNameHelpers.Unescape
withTypeName.Unescape
TypeNameHelpers.Split
tuple returns with direct access toTypeName.Namespace
andTypeName.Name
propertiesThe changes are minimal and focused only on the required updates. No functional changes were made, as the implementations in
TypeName
provide identical functionality to what was inTypeNameHelpers
.Fixes #112376.
Warning
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
pkgs.dev.azure.com
/home/REDACTED/work/runtime/runtime/.dotnet/dotnet msbuild /m /nologo /clp:Summary /v:minimal /nr:true /warnaserror /p:TreatWarningsAsErrors=true /p:ContinuousIntegrationBuild=false /home/REDACTED/work/runtime/runtime/artifacts/toolset/restore.proj /t:__WriteToolsetLocation /clp:ErrorsOnly;NoSummary /p:__ToolsetLocationOutputFile=/home/REDACTED/work/runtime/runtime/artifacts/toolset/10.0.0-beta.25260.104.txt
(dns block)./.dotnet/dotnet build src/coreclr/tools/aot/ILCompiler.TypeSystem/ILCompiler.TypeSystem.csproj
(dns block)/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js
(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.