Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 0f77d19

Browse files
FeiPengIntelsafern
authored andcommitted
new intrinsic type support (dotnet/coreclr#15340)
Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
1 parent e9e141d commit 0f77d19

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Common/src/CoreLib/System/Runtime/CompilerServices/IntrinsicAttribute.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ namespace System.Runtime.CompilerServices
66
{
77
// Calls to methods or references to fields marked with this attribute may be replaced at
88
// some call sites with jit intrinsic expansions.
9-
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Field, Inherited = false)]
9+
// Types marked with this attribute may be specially treated by the rumtime/compiler.
10+
[AttributeUsage(AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Field, Inherited = false)]
1011
internal sealed class IntrinsicAttribute : Attribute
1112
{
1213
}

0 commit comments

Comments
 (0)