Skip to content
This repository was archived by the owner on Jul 26, 2023. It is now read-only.
This repository was archived by the owner on Jul 26, 2023. It is now read-only.

FriendlyFlags.Array should generate Span<T> overloads #444

@AArnott

Description

@AArnott

Given a method with such a parameter:

[Friendly(FriendlyFlags.Out | FriendlyFlags.Array)] char* lpString,

We should produce an overload with parameter type Span<char>.

Also if the direction is only In:

[Friendly(FriendlyFlags.In | FriendlyFlags.Array)] char* lpString,

We should produce an overload with parameter type ReadOnlySpan<char>.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions