CsWinRT icon indicating copy to clipboard operation
CsWinRT copied to clipboard

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

Open anna-dingler opened this issue 7 months ago • 0 comments

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

anna-dingler avatar May 19 '25 22:05 anna-dingler