Skip to content

Console APIs missing [UnsupportedOSPlatform("wasi")] #114221

Open
@Youssef1313

Description

@Youssef1313

Description

For example,

[UnsupportedOSPlatform("android")]
[UnsupportedOSPlatform("browser")]
[UnsupportedOSPlatform("ios")]
[UnsupportedOSPlatform("tvos")]
public static event ConsoleCancelEventHandler? CancelKeyPress

Reproduction Steps

See microsoft/testfx#5366

Expected behavior

Having <SupportedPlatform Include="wasi" /> in csproj should warn me about the API not being supported.

Actual behavior

No warnings.

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions