C#


ROSLYN.USAGE.CA2252 : This API requires opting into preview features (C#)

See Roslyn-Detected C# Warning Classes for more information.

Summary

An assembly has to opt into preview features before using them.

This check corresponds to Roslyn rule CA2252. For full rule details, see the Microsoft website: CA2252.

Properties

Class Name This API requires opting into preview features (C#)
Significance reliability
Mnemonic ROSLYN.USAGE.CA2252
Categories None
Availability Available for C# only.
Enabling Checks for this warning class are enabled by default. To disable them, add the following WARNING_FILTER rule to the project configuration file.
WARNING_FILTER += discard class="This API requires opting into preview features (C#)"

Relevant Configuration File Parameters

The following configuration file parameters affect checks for this warning class.