Skip to content

C#: Only include System.Object in Type::getBaseClass when no interfaces are implemented#13629

Closed
hvitved wants to merge 1 commit intogithub:mainfrom
hvitved:csharp/adjust-get-base-class
Closed

C#: Only include System.Object in Type::getBaseClass when no interfaces are implemented#13629
hvitved wants to merge 1 commit intogithub:mainfrom
hvitved:csharp/adjust-get-base-class

Conversation

@hvitved
Copy link
Contributor

@hvitved hvitved commented Jun 30, 2023

An interface (which does not itself implement another interface) will have System.Object as its base class, so there is no need to include System.Object when a class (or interface) implements a(nother) interface.

@github-actions github-actions bot added the C# label Jun 30, 2023
@hvitved hvitved force-pushed the csharp/adjust-get-base-class branch from f8e2643 to 8d42af6 Compare June 30, 2023 09:14
…rfaces are implemented

An interface (which does not itself implement another interface) will have
`System.Object` as its base class, so there is no need to include `System.Object`
when a class (or interface) implements a(nother) interface.
that only implement
@hvitved hvitved force-pushed the csharp/adjust-get-base-class branch from 8d42af6 to b13128d Compare July 3, 2023 13:49
@hvitved hvitved closed this Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant