Add DecoratedNameAttribute (dotnet/corefx#40125)
authorJeremy Koritzinsky <jekoritz@microsoft.com>
Mon, 19 Aug 2019 18:15:08 +0000 (11:15 -0700)
committerGitHub <noreply@github.com>
Mon, 19 Aug 2019 18:15:08 +0000 (11:15 -0700)
Commit migrated from https://github.com/dotnet/corefx/commit/86db0ef4acc409ab29cd07908aec21c2dc237ea0

src/libraries/System.Runtime.CompilerServices.VisualC/ref/System.Runtime.CompilerServices.VisualC.cs
src/libraries/System.Runtime.CompilerServices.VisualC/src/System/Runtime/CompilerServices/Attributes.cs

index 7600470..66f96aa 100644 (file)
@@ -26,6 +26,11 @@ namespace System.Runtime.CompilerServices
     public static partial class CompilerMarshalOverride
     {
     }
+    [System.AttributeUsage(System.AttributeTargets.All)]
+    internal sealed class DecoratedNameAttribute : System.Attribute
+    {
+        public DecoratedNameAttribute(string decoratedName) {}
+    }
     [System.AttributeUsageAttribute(System.AttributeTargets.Struct)]
     public sealed partial class HasCopySemanticsAttribute : System.Attribute
     {
index 6454ba5..0d58dae 100644 (file)
@@ -21,6 +21,12 @@ namespace System.Runtime.CompilerServices
     {
     }
 
+    [AttributeUsage(AttributeTargets.All)]
+    internal sealed class DecoratedNameAttribute : Attribute
+    {
+        public DecoratedNameAttribute(string decoratedName) {}
+    }
+
     // Indicates that the modified instance is pinned in memory.
     public static class IsPinned
     {