summaryrefslogtreecommitdiff
path: root/src/mscorlib
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2017-09-09 04:57:48 -0700
committerJan Kotas <jkotas@microsoft.com>2017-09-09 16:41:56 -0700
commitbd6f5574b05aa1c814c5dbada47a122685806dd3 (patch)
tree7cb42e404e28765ddb5c287fd4c19829386c5a81 /src/mscorlib
parentd6900913634dc59099149fbe6106c6a304da63eb (diff)
downloadcoreclr-bd6f5574b05aa1c814c5dbada47a122685806dd3.tar.gz
coreclr-bd6f5574b05aa1c814c5dbada47a122685806dd3.tar.bz2
coreclr-bd6f5574b05aa1c814c5dbada47a122685806dd3.zip
Fix IntrinsicAttribute build break
Diffstat (limited to 'src/mscorlib')
-rw-r--r--src/mscorlib/shared/System/Runtime/CompilerServices/IntrinsicAttribute.cs4
1 files changed, 2 insertions, 2 deletions
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
{
}