Skip to content

Commit

Permalink
Seal classes
Browse files Browse the repository at this point in the history
  • Loading branch information
verdie-g committed May 13, 2024
1 parent a5583d6 commit 56ad8be
Show file tree
Hide file tree
Showing 7 changed files with 95 additions and 95 deletions.
2 changes: 1 addition & 1 deletion EventPipe/Event.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace EventPipe;

[DebuggerDisplay("{(Metadata.EventName.Length == 0 ? Metadata.EventId.ToString() : Metadata.EventName)}")]
public class Event
public sealed class Event
{
/// <summary>Uniquely identifies the <see cref="Event"/> in a <see cref="Trace"/>.</summary>
public int Index { get; }
Expand Down
4 changes: 2 additions & 2 deletions EventPipe/EventPipeReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace EventPipe;

public class EventPipeReader(Stream stream)
public sealed class EventPipeReader(Stream stream)
{
private const int ReaderVersion = 4;

Expand Down Expand Up @@ -796,7 +796,7 @@ private async Task FillPipeWithStreamAsync(PipeWriter writer, CancellationToken
await writer.CompleteAsync();
}

public class Progression
public sealed class Progression
{
internal Progression(long bytesRead, int eventsRead)
{
Expand Down
Loading

0 comments on commit 56ad8be

Please sign in to comment.