Skip to content
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.

Remove duplication of parsing helper #841

Merged
merged 1 commit into from
May 18, 2017
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
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

namespace Microsoft.AspNetCore.Http.Internal
{
internal struct HeaderSegment : IEquatable<HeaderSegment>
public struct HeaderSegment : IEquatable<HeaderSegment>
{
private readonly StringSegment _formatting;
private readonly StringSegment _data;

// <summary>
// Initializes a new instance of the <see cref="HeaderSegment/> structure.
// Initializes a new instance of the <see cref="HeaderSegment"/> structure.
// </summary>
public HeaderSegment(StringSegment formatting, StringSegment data)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace Microsoft.AspNetCore.Http.Internal
{
internal struct HeaderSegmentCollection : IEnumerable<HeaderSegment>, IEquatable<HeaderSegmentCollection>
public struct HeaderSegmentCollection : IEnumerable<HeaderSegment>, IEquatable<HeaderSegmentCollection>
{
private readonly StringValues _headers;

Expand Down Expand Up @@ -62,7 +62,7 @@ IEnumerator IEnumerable.GetEnumerator()
return GetEnumerator();
}

internal struct Enumerator : IEnumerator<HeaderSegment>
public struct Enumerator : IEnumerator<HeaderSegment>
{
private readonly StringValues _headers;
private int _index;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace Microsoft.AspNetCore.Http.Internal
{
internal static class ParsingHelpers
public static class ParsingHelpers
{
public static StringValues GetHeader(IHeaderDictionary headers, string key)
{
Expand Down
Loading