Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Move (most) Debugger Attributes to shared partition#14651

Closed
benaadams wants to merge 1 commit intodotnet:masterfrom
benaadams:debuggerattribute
Closed

Move (most) Debugger Attributes to shared partition#14651
benaadams wants to merge 1 commit intodotnet:masterfrom
benaadams:debuggerattribute

Conversation

@benaadams
Copy link
Member

corert change dotnet/corert#4774

@@ -22,239 +21,6 @@ public sealed class DebuggerStepThroughAttribute : Attribute
{
public DebuggerStepThroughAttribute() { }
Copy link
Member

Choose a reason for hiding this comment

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

I would move all of them, and add [System.Runtime.CompilerServices.DependencyReductionRoot] under #if !PROJECTN ifdef.

Copy link
Member Author

Choose a reason for hiding this comment

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

Is PROJECTN coreclr?

Copy link
Member

@jkotas jkotas Oct 22, 2017

Choose a reason for hiding this comment

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

PROJECTN means .NET Native. This DependencyReductionRoot attribute is only used by the (closed source) .NET Native toolchain.

Copy link
Member Author

Choose a reason for hiding this comment

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

So #if PROJECTN rather than #if !PROJECTN?

Copy link
Member

Choose a reason for hiding this comment

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

Right.

@jkotas
Copy link
Member

jkotas commented Oct 22, 2017

Maybe even move the two debugger attributes from https://github.com/dotnet/corefx/tree/master/src/System.Diagnostics.Debug/src/System/Diagnostics back to CoreLib. It does not really make sense to have all debugger attributes in CoreLib, except two that happened to not be used in CoreLib (they are commented out in the CoreLib file right now).

@jkotas
Copy link
Member

jkotas commented Nov 19, 2017

Superseded by #15100

@jkotas jkotas closed this Nov 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants