Handling IL-level .override corner cases

Open
#111,991 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
csharp
Domain
backend

Research direction

Start with the TODO in src/coreclr/tools/Common/TypeSystem/Common/MetadataVirtualMethodAlgorithm.cs around line 468 and inspect the tests described as blocked by this issue. Determine which IL-level .override corner cases the managed type system mishandles, then verify that the affected tests are no longer blocked.

Written by the indexing model from the issue text.

Description

area-NativeAOT-coreclr

The managed type system doesn't seem to handle various corner case behaviors around .override in IL. See tests blocked on this issue.

Putting this under native AOT, but it's in the shared managed type system.

Possibly related to the following TODO:

https://github.com/dotnet/runtime/blob/7693b6d0202281dc38dcfb9562e9064fcd13bc61/src/coreclr/tools/Common/TypeSystem/Common/MetadataVirtualMethodAlgorithm.cs#L468-L470

Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/runtime

All issues in dotnet/runtime

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.