Skip to content

Move DiagnosticsHandler.IsGloballyEnabled back to a method - #55351

Merged
steveisok merged 2 commits into
dotnet:mainfrom
steveisok:fix-handler-linker-sub
Jul 9, 2021
Merged

Move DiagnosticsHandler.IsGloballyEnabled back to a method#55351
steveisok merged 2 commits into
dotnet:mainfrom
steveisok:fix-handler-linker-sub

Conversation

@steveisok

@steveisoksteveisok commented Jul 8, 2021

Copy link
Copy Markdown
Member

Intent is to make linker substitutions happy and try to unblock dotnet/sdk#18801

Intent is to make linker substitutions happy
@ghost

ghost commented Jul 8, 2021

Copy link
Copy Markdown

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

Intent is to make linker substitutions happy

Author:steveisok
Assignees:-
Labels:

area-System.Net.Http

Milestone:-

@steveisok

Copy link
Copy Markdown
MemberAuthor

@vitek-karas@eerhardt Given the current code structure, is the linker substitution going to work?

@jeffschwMSFTjeffschwMSFT left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm. Thanks @steveisok

@vitek-karasvitek-karas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You could change it to a property, you just need to update the ILLink.Substitutions.xml for that assembly to now point to the property getter - that should work as well.

@ManickaPManickaP left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM
cc @MihaZupan

Comment threadsrc/libraries/System.Net.Http/src/System/Net/Http/DiagnosticsHandler.cs Outdated
…andler.cs
Co-authored-by: Marie Píchová <11718369+ManickaP@users.noreply.github.com>
@steveisok
steveisok merged commit 03cb946 into dotnet:mainJul 9, 2021
@steveisok
steveisok deleted the fix-handler-linker-sub branch July 9, 2021 03:17
@karelzkarelz added this to the 6.0.0 milestone Jul 15, 2021
@ghostghost locked as resolved and limited conversation to collaborators Aug 14, 2021
Sign up for freeto 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.

7 participants

@steveisok@eerhardt@jeffschwMSFT@vitek-karas@ManickaP@MihaZupan@karelz