Skip to content

Incorrect derived types shown, when generic type inherit from non-generic type with the same name. #3674

Description

@PetSerAl

Steps to reproduce

class SameName { }
class SameName<T> : SameName { }
class A : SameName { }
class B : SameName { }
class C : SameName { }
class D : SameName<object> { }
class E : SameName<object> { }
class F : SameName<object> { }

Error message shown

Image

Details

  • Product in use: ILSpy
  • ILSpy version: 10.0.0.8282-preview2+ceed812e3d81b2ed9a845d289640cf96a9563e2b
  • .NET version: 10.0.3-servicing.26075.103+c2435c3e0f46de784341ac3ed62863ce77e117b4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions