79614073

Date: 2025-05-09 12:09:31
Score: 1
Natty:
Report link

Beginning in C# 12, types, methods, and assemblies can be marked with the System.Diagnostics.CodeAnalysis.ExperimentalAttribute to indicate an experimental feature. The compiler issues a warning if you access a method or type annotated with the ExperimentalAttribute.

The Windows Foundation Metadata libraries use the Windows.Foundation.Metadata.ExperimentalAttribute, which predates C# 12.

See https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/attributes/general#experimental-attributes

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Doug Domeny