Skip to content

[NativeAOT] Metadata not trimmed for nested Interface types when compiling TerraFx.Interop.Windows #66716

@jkotas

Description

@jkotas

Same repro as #66593 (comment)

Actual result: Nested Interface types like TerraFX.Interop.Windows.IEnumWbemClassObject+Interface types are present in the final binary

Expected result: TerraFX.Interop.Windows.IEnumWbemClassObject+Interface types are not present in the final binary (IL linker is able to trim these)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-NativeAOT-coreclrin-prThere is an active PR which will close this issue when it is merged

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions