diff --git a/src/System.CommandLine/ParseResult.cs b/src/System.CommandLine/ParseResult.cs
index 76872fc967..1c9ec067a8 100644
--- a/src/System.CommandLine/ParseResult.cs
+++ b/src/System.CommandLine/ParseResult.cs
@@ -15,7 +15,7 @@ namespace System.CommandLine
///
/// Describes the results of parsing a command line input based on a specific parser configuration.
///
- public class ParseResult
+ public sealed class ParseResult
{
private readonly IReadOnlyList _errors;
private readonly CommandResult _rootCommandResult;
diff --git a/src/System.CommandLine/Parsing/ParseError.cs b/src/System.CommandLine/Parsing/ParseError.cs
index 0ef389900b..a079b58c8b 100644
--- a/src/System.CommandLine/Parsing/ParseError.cs
+++ b/src/System.CommandLine/Parsing/ParseError.cs
@@ -6,7 +6,7 @@ namespace System.CommandLine.Parsing
///
/// Describes an error that occurs while parsing command line input.
///
- public class ParseError
+ public sealed class ParseError
{
internal ParseError(
string message,