Skip to content

Commit 4845cf1

Browse files
Jean-Marc PrieurBrent Schmaltz
authored andcommitted
Merged PR 10239: Commenting out a constant which is not used
Commenting out a constant which is not used ---- #### AI-Generated Description The pull request contains only one change: a line of code was removed from the file **LogMessages.cs**. The removed line was: - `public const string IDX10815 = "IDX10815: Depth of JSON: '{0}' exceeds max depth of '{1}'.";` This line defined a constant string for an error message related to JSON depth. The reason for removing this line is not clear from the pull request content.
1 parent e06dc84 commit 4845cf1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Microsoft.IdentityModel.Tokens/LogMessages.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ internal static class LogMessages
239239
public const string IDX10812 = "IDX10812: Unable to create a {0} from the properties found in the JsonWebKey: '{1}'.";
240240
public const string IDX10813 = "IDX10813: Unable to create a {0} from the properties found in the JsonWebKey: '{1}', Exception '{2}'.";
241241
public const string IDX10814 = "IDX10814: Unable to create a {0} from the properties found in the JsonWebKey: '{1}'. Missing: '{2}'.";
242-
public const string IDX10815 = "IDX10815: Depth of JSON: '{0}' exceeds max depth of '{1}'.";
242+
//public const string IDX10815 = "IDX10815: Depth of JSON: '{0}' exceeds max depth of '{1}'.";
243243
public const string IDX10816 = "IDX10816: Decompressing would result in a token with a size greater than allowed. Maximum size allowed: '{0}'.";
244244

245245
// Base64UrlEncoding

test/Microsoft.IdentityModel.AotCompatibility.Tests/Microsoft.IdentityModel.AotCompatibility.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<PropertyGroup>
66
<!-- This test only needs to run on .NET -->
77
<TargetFrameworks>net6.0</TargetFrameworks>
8+
<LangVersion>10</LangVersion>
89
</PropertyGroup>
910

1011
<ItemGroup>

0 commit comments

Comments
 (0)