-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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 <[email protected]>
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 <[email protected]>
|
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 <[email protected]>
... 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 <[email protected]>
|
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 <[email protected]> Co-authored-by: copilot-swe-agent[bot] <[email protected]>
This PR replaces the usage of the now-deprecated
TypeNameHelpersutility class with the newerTypeNameclass methods and properties in the runtime tools. The changes include:TypeNameHelpers.csfile fromsrc/libraries/Common/src/System/Reflection/MetadataILCompiler.TypeSystem.csprojILCompiler.Trimming.Tests.csprojILCompiler.Compiler.csprojMono.Linker.csprojTypeNameHelpers.UnescapewithTypeName.UnescapeTypeNameHelpers.Splittuple returns with direct access toTypeName.NamespaceandTypeName.NamepropertiesThe changes are minimal and focused only on the required updates. No functional changes were made, as the implementations in
TypeNameprovide 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.