Skip to content

Conversation

@jkotas
Copy link
Member

@jkotas jkotas commented Jul 16, 2020

No description provided.

@jkotas
Copy link
Member Author

jkotas commented Jul 16, 2020

Context #39404

/// </remarks>
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
public sealed class SuppressGCTransitionAttribute : Attribute
#if SYSTEM_PRIVATE_CORELIB
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is how other similar attributes are done.

@jkotas jkotas added the NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) label Jul 16, 2020
@jkotas
Copy link
Member Author

jkotas commented Jul 16, 2020

#39411 should be merged first.

<ItemGroup Condition="'$(TargetFramework)' != '$(NetCoreAppCurrent)'">
<Compile Include="$(CommonPath)System\Runtime\InteropServices\SuppressGCTransitionAttribute.internal.cs"
Link="Common\System\Runtime\InteropServices\SuppressGCTransitionAttribute.internal.cs" />
<Compile Include="$(CoreLibSharedDir)System\Runtime\InteropServices\SuppressGCTransitionAttribute.cs"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This won't be needed once @maryamariyan's PR is merged.

@jkotas jkotas added area-Interop-coreclr area-System.Runtime.InteropServices and removed NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) area-Infrastructure-coreclr area-Interop-coreclr labels Jul 16, 2020
@jkotas jkotas merged commit 2bb1049 into dotnet:master Jul 16, 2020
@jkotas jkotas deleted the SuppressGCTransitionAttribute branch July 21, 2020 23:35
@karelz karelz added this to the 5.0.0 milestone Aug 18, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants