From: Aaron Robinson Date: Tue, 22 Oct 2019 20:41:56 +0000 (-0700) Subject: Expose SuppressGCTransitionAttribute (dotnet/corefx#41997) X-Git-Tag: submit/tizen/20210909.063632~11031^2~228 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=50b1182e9b77a869e486bfd82b58f77dbf03803e;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Expose SuppressGCTransitionAttribute (dotnet/corefx#41997) Commit migrated from https://github.com/dotnet/corefx/commit/17d22ab65efa048b2971d2d1c93cb8bfa54635b4 --- diff --git a/src/libraries/System.Runtime/ref/System.Runtime.cs b/src/libraries/System.Runtime/ref/System.Runtime.cs index 117dc3c..c731075 100644 --- a/src/libraries/System.Runtime/ref/System.Runtime.cs +++ b/src/libraries/System.Runtime/ref/System.Runtime.cs @@ -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 {