From bd6f5574b05aa1c814c5dbada47a122685806dd3 Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Sat, 9 Sep 2017 04:57:48 -0700 Subject: Fix IntrinsicAttribute build break --- .../shared/System/Runtime/CompilerServices/IntrinsicAttribute.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mscorlib') diff --git a/src/mscorlib/shared/System/Runtime/CompilerServices/IntrinsicAttribute.cs b/src/mscorlib/shared/System/Runtime/CompilerServices/IntrinsicAttribute.cs index 0d249deaf4..dd01bacc49 100644 --- a/src/mscorlib/shared/System/Runtime/CompilerServices/IntrinsicAttribute.cs +++ b/src/mscorlib/shared/System/Runtime/CompilerServices/IntrinsicAttribute.cs @@ -4,9 +4,9 @@ namespace System.Runtime.CompilerServices { - // Calls to methods marked with this attribute may be replaced at + // Calls to methods or references to fields marked with this attribute may be replaced at // some call sites with jit intrinsic expansions. - [AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor, Inherited = false)] + [AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Field, Inherited = false)] internal sealed class IntrinsicAttribute : Attribute { } -- cgit v1.2.3