microsoft / microsoft/CsWinRT

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

Open
#1,993 0 comments 0 reactions 0 assignees View on GitHub

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:

  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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.