Skip to content

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

Open

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

Activity

  1. ghost added
    needs-area-label
    on Apr 3, 2025
  2. added
    untriaged
    on Apr 3, 2025
  3. added
    os-wasi
    on Apr 3, 2025
  4. added
    arch-wasm
    and removed
    needs-area-label
    on Apr 3, 2025
  5. added this to the Future milestone on Apr 3, 2025
  6. removed
    untriaged
    on Apr 3, 2025
  7. dotnet-policy-service commented on Apr 3, 2025

    @dotnet-policy-service
    Contributor

    Tagging subscribers to 'arch-wasm': @lewing
    See info in area-owners.md if you want to be subscribed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arch-wasmarea-Build-monoos-wasi

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions