Skip to content

Add language support for Composition #97

@jsphadetula

Description

@jsphadetula

Since multiple inheritance is not allowed in C#, syntax for supporting composition where all or part of a field's interface is automatically generated by the compiler will very useful
Possible syntax:

class MyClass
{
using TypeName m_field = { /* list of public members to be generated by compiler */ }
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions