summaryrefslogtreecommitdiff
path: root/src/mscorlib/shared/System
diff options
context:
space:
mode:
authorVladimir Sadov <vsadov@microsoft.com>2017-05-03 15:22:32 -0700
committerJan Kotas <jkotas@microsoft.com>2017-05-03 15:22:32 -0700
commit8ba07fc124eee6a0fbb6f886e90ffd0628e86e48 (patch)
tree47441bba45672dd5a8a63b896a3fb68ea4ecbd9c /src/mscorlib/shared/System
parent1c7e1f4e0b9d338c209a8e73a00c8e9ab42b22e3 (diff)
downloadcoreclr-8ba07fc124eee6a0fbb6f886e90ffd0628e86e48.tar.gz
coreclr-8ba07fc124eee6a0fbb6f886e90ffd0628e86e48.tar.bz2
coreclr-8ba07fc124eee6a0fbb6f886e90ffd0628e86e48.zip
Adding System\Runtime\CompilerServices\IsByRefLikeAttribute type (#11369)
described in: https://github.com/dotnet/corefx/issues/19212
Diffstat (limited to 'src/mscorlib/shared/System')
-rw-r--r--src/mscorlib/shared/System/Runtime/CompilerServices/IsByRefLikeAttribute.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/mscorlib/shared/System/Runtime/CompilerServices/IsByRefLikeAttribute.cs b/src/mscorlib/shared/System/Runtime/CompilerServices/IsByRefLikeAttribute.cs
new file mode 100644
index 0000000000..90e49d2a42
--- /dev/null
+++ b/src/mscorlib/shared/System/Runtime/CompilerServices/IsByRefLikeAttribute.cs
@@ -0,0 +1,21 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+using System.ComponentModel;
+
+namespace System.Runtime.CompilerServices
+{
+ /// <summary>
+ /// Reserved to be used by the compiler for tracking metadata.
+ /// This attribute should not be used by developers in source code.
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ [AttributeUsage(AttributeTargets.Struct)]
+ public sealed class IsByRefLikeAttribute : Attribute
+ {
+ public IsByRefLikeAttribute()
+ {
+ }
+ }
+}