Exposes capabilities of the target project based on the target framework(s) and language version.
Namespace: Metalama.Framework.Project
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public abstract class ProjectFeaturesConstructors
| Name | Description |
|---|---|
| ProjectFeatures() |
Properties
| Name | Description |
|---|---|
| SupportsCovariantReturnTypes | Gets a value indicating whether the target runtime supports covariant return types in method overrides.
This requires .NET 5.0+ runtime and C# 9.0+ language version. When the project targets multiple
frameworks, this returns |