Expose SuppressGCTransitionAttribute (dotnet/corefx#41997)
authorAaron Robinson <arobins@microsoft.com>
Tue, 22 Oct 2019 20:41:56 +0000 (13:41 -0700)
committerGitHub <noreply@github.com>
Tue, 22 Oct 2019 20:41:56 +0000 (13:41 -0700)
Commit migrated from https://github.com/dotnet/corefx/commit/17d22ab65efa048b2971d2d1c93cb8bfa54635b4

src/libraries/System.Runtime/ref/System.Runtime.cs

index 117dc3c..c731075 100644 (file)
@@ -7184,6 +7184,11 @@ namespace System.Runtime.InteropServices
         public StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind layoutKind) { }
         public System.Runtime.InteropServices.LayoutKind Value { get { throw null; } }
     }
+    [System.AttributeUsageAttribute(System.AttributeTargets.Method, Inherited = false)]
+    public sealed partial class SuppressGCTransitionAttribute : System.Attribute
+    {
+        public SuppressGCTransitionAttribute() { }
+    }
 }
 namespace System.Runtime.Remoting
 {