IKVM11
11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
CompilerFeatureRequiredAttribute.cs
Go to the documentation of this file.
1
// Licensed to the .NET Foundation under one or more agreements.
2
// The .NET Foundation licenses this file to you under the MIT license.
3
4
namespace
System.Runtime.CompilerServices
5
{
9
[AttributeUsage(AttributeTargets.All, AllowMultiple =
true
, Inherited =
false
)]
10
public
sealed
class
CompilerFeatureRequiredAttribute
: Attribute
11
{
12
public
CompilerFeatureRequiredAttribute
(
string
featureName)
13
{
14
FeatureName
= featureName;
15
}
16
20
public
string
FeatureName
{
get
; }
21
25
public
bool
IsOptional
{
get
; init; }
26
30
public
const
string
RefStructs
= nameof(
RefStructs
);
31
35
public
const
string
RequiredMembers
= nameof(
RequiredMembers
);
36
}
37
}
System.Runtime.CompilerServices.CompilerFeatureRequiredAttribute
Indicates that compiler support for a particular feature is required for the location where this attr...
Definition
CompilerFeatureRequiredAttribute.cs:11
System.Runtime.CompilerServices.CompilerFeatureRequiredAttribute.RefStructs
const string RefStructs
The FeatureName used for the ref structs C# feature.
Definition
CompilerFeatureRequiredAttribute.cs:30
System.Runtime.CompilerServices.CompilerFeatureRequiredAttribute.IsOptional
bool IsOptional
If true, the compiler can choose to allow access to the location where this attribute is applied if i...
Definition
CompilerFeatureRequiredAttribute.cs:25
System.Runtime.CompilerServices.CompilerFeatureRequiredAttribute.CompilerFeatureRequiredAttribute
CompilerFeatureRequiredAttribute(string featureName)
Definition
CompilerFeatureRequiredAttribute.cs:12
System.Runtime.CompilerServices.CompilerFeatureRequiredAttribute.FeatureName
string FeatureName
The name of the compiler feature.
Definition
CompilerFeatureRequiredAttribute.cs:20
System.Runtime.CompilerServices.CompilerFeatureRequiredAttribute.RequiredMembers
const string RequiredMembers
The FeatureName used for the required members C# feature.
Definition
CompilerFeatureRequiredAttribute.cs:35
System.Runtime.CompilerServices
Definition
CompilerFeatureRequiredAttribute.cs:5
src
IKVM.Tools.Core
System
Runtime
CompilerServices
CompilerFeatureRequiredAttribute.cs
Generated by
1.12.0