Bug: Factory and static methods are not propagating the experimental tag
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 665
- Forks
- 134
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 32
Description
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:
- Using
<WindowsSdkPackageVersion>10.0.26100.67-preview</WindowsSdkPackageVersion> - Usage of
Windows.AI.Actions.ActionEntityFactory.CreateContactEntitydoes 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with WindowsSdkPackageVersion 10.0.26100.67-preview and Windows.AI.Actions.ActionEntityFactory.CreateContactEntity in Visual Studio. Check whether the experimental tag reaches warnings, IntelliSense, and CS8305 output; done means experimental usage is reported consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100