Skip to content

Commit 8d21dca

Browse files
committed
ascii hash cleanup
1 parent 149dce9 commit 8d21dca

2 files changed

Lines changed: 2 additions & 14 deletions

File tree

src/RESPite/Shared/AsciiHash.Public.cs

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/RESPite/Shared/AsciiHash.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
namespace RESPite;
88

9-
#pragma warning disable SA1205 // deliberately omit accessibility - see AsciiHash.Public.cs
10-
119
/// <summary>
1210
/// This type is intended to provide fast hashing functions for small ASCII strings, for example well-known
1311
/// RESP literals that are usually identifiable by their length and initial bytes; it is not intended
@@ -21,7 +19,7 @@ namespace RESPite;
2119
Inherited = false)]
2220
[Conditional("DEBUG")] // evaporate in release
2321
[Experimental(Experiments.Respite, UrlFormat = Experiments.UrlFormat)]
24-
sealed partial class AsciiHashAttribute(string token = "") : Attribute
22+
public sealed partial class AsciiHashAttribute(string token = "") : Attribute
2523
{
2624
/// <summary>
2725
/// The token expected when parsing data, if different from the implied value. The implied
@@ -37,7 +35,7 @@ sealed partial class AsciiHashAttribute(string token = "") : Attribute
3735

3836
// note: instance members are in AsciiHash.Instance.cs.
3937
[Experimental(Experiments.Respite, UrlFormat = Experiments.UrlFormat)]
40-
readonly partial struct AsciiHash
38+
public readonly partial struct AsciiHash
4139
{
4240
/// <summary>
4341
/// In-place ASCII upper-case conversion.

0 commit comments

Comments
 (0)