Skip to content

Conversation

@JamesNK
Copy link
Member

@JamesNK JamesNK commented Jun 6, 2023

Boolean values are displayed as lowercase in debug display.

For example:

[DebuggerDisplay("IsCancellationRequested = {IsCancellationRequested}")]

This displays IsCancellationRequested = true

ClaimsIdentity builds the debug string in a method so it doesn't automatically use lowercase bool. Update it to be consistent with other debug display bool values.

@ghost ghost added the area-System.Security label Jun 6, 2023
@ghost ghost assigned JamesNK Jun 6, 2023
@ghost
Copy link

ghost commented Jun 6, 2023

Tagging subscribers to this area: @dotnet/area-system-security, @bartonjs, @vcsjones
See info in area-owners.md if you want to be subscribed.

Issue Details

Boolean values are displayed as lowercase in debug display.

For example:

[DebuggerDisplay("IsCancellationRequested = {IsCancellationRequested}")]

This displays IsCancellationRequested = true

ClaimsIdentity builds the debug string in a method so it doesn't automatically use lowercase bool. Update it to be consistent with other debug display bool values.

Author: JamesNK
Assignees: -
Labels:

area-System.Security

Milestone: -

Copy link
Member

@adamsitnik adamsitnik left a comment

Choose a reason for hiding this comment

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

Overall LGTM as long as we solve the compilation issue ;)

Copy link
Member

@adamsitnik adamsitnik left a comment

Choose a reason for hiding this comment

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

:shipit:

@JamesNK
Copy link
Member Author

JamesNK commented Jun 7, 2023

What is going on with the build? Can an expert merge this if the build errors are unrelated?

@stephentoub stephentoub merged commit 6fa7293 into main Jun 8, 2023
@stephentoub stephentoub deleted the JamesNK-patch-1 branch June 8, 2023 02:23
@ghost ghost locked as resolved and limited conversation to collaborators Jul 8, 2023
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.

4 participants