Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync shared code from runtime #31271

Merged
1 commit merged into from
Mar 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Shared/runtime/Http2/Hpack/DynamicTable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace System.Net.Http.HPack
{
internal class DynamicTable
internal sealed class DynamicTable
{
private HeaderField[] _buffer;
private int _maxSize;
Expand Down
2 changes: 1 addition & 1 deletion src/Shared/runtime/Http2/Hpack/HPackDecoder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace System.Net.Http.HPack
{
internal class HPackDecoder
internal sealed class HPackDecoder
{
private enum State : byte
{
Expand Down
2 changes: 1 addition & 1 deletion src/Shared/runtime/Http2/Hpack/HPackDecodingException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace System.Net.Http.HPack
{
// TODO: Should this be public?
[Serializable]
internal class HPackDecodingException : Exception
internal sealed class HPackDecodingException : Exception
{
public HPackDecodingException()
{
Expand Down
4 changes: 2 additions & 2 deletions src/Shared/runtime/Http2/Hpack/HuffmanDecodingException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace System.Net.Http.HPack
{
// TODO: Should this be public?
[Serializable]
internal class HuffmanDecodingException : Exception, ISerializable
internal sealed class HuffmanDecodingException : Exception, ISerializable
{
public HuffmanDecodingException()
{
Expand All @@ -18,7 +18,7 @@ public HuffmanDecodingException(string message)
{
}

protected HuffmanDecodingException(SerializationInfo info, StreamingContext context)
private HuffmanDecodingException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
Expand Down
2 changes: 1 addition & 1 deletion src/Shared/runtime/Http2/Hpack/IntegerDecoder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace System.Net.Http.HPack
{
internal class IntegerDecoder
internal sealed class IntegerDecoder
{
private int _i;
private int _m;
Expand Down
2 changes: 1 addition & 1 deletion src/Shared/runtime/Http3/QPack/QPackDecoder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace System.Net.Http.QPack
{
internal class QPackDecoder : IDisposable
internal sealed class QPackDecoder : IDisposable
{
private enum State
{
Expand Down
2 changes: 1 addition & 1 deletion src/Shared/runtime/Http3/QPack/QPackEncoder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace System.Net.Http.QPack
{
internal class QPackEncoder
internal sealed class QPackEncoder
{
private IEnumerator<KeyValuePair<string, string>>? _enumerator;

Expand Down