Skip to content

Update ComInterfaceGenerator to use collection expressions in IID creation #93151

@jkoritzinsky

Description

@jkoritzinsky

Instead of using new ReadOnlySpan(new[] { bytes }), we should use collection expressions like in #93125 as they're cleaner and spec'd to have the behavior we desire.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.Runtime.InteropServicesin-prThere is an active PR which will close this issue when it is mergedsource-generatorIndicates an issue with a source generator feature

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions