Skip to content

Bug: Factory and static methods are not propagating the experimental tag #1993

Open
@anna-dingler

Description

@anna-dingler

Description

When utilizing an experimental method, warnings are not shown in Visual Studio that an experimental method is used.

Steps To Reproduce

I think this repros for any experimental method. My specific scenario:

  1. Using <WindowsSdkPackageVersion>10.0.26100.67-preview</WindowsSdkPackageVersion>
  2. Usage of Windows.AI.Actions.ActionEntityFactory.CreateContactEntity does not produce a warning even though it is experimental.

Expected Behavior

I would expect to see CS8305 in outputs and IntelliSense.

Version Info

CsWinRT: 2.2.0
WindowsSdkPackageVersion: 10.0.26100.67-preview

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions