Skip to content

Commit

Permalink
Chore: seal internal classes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-jesner-AP committed Oct 19, 2024
1 parent b579c8c commit c003ee8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/GraphQLParser/AST/GraphQLComment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public GraphQLComment(ROM value)
public ROM Value { get; internal set; }
}

internal class GraphQLCommentWithLocation : GraphQLComment
internal sealed class GraphQLCommentWithLocation : GraphQLComment
{
public override GraphQLLocation Location { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion src/GraphQLParser/Visitors/SDLPrinter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,7 @@ public class SDLPrinterOptions
/// for indentation purposes. Any literal printed first after optional comment or description nodes in
/// any VisitXXX method should be wrapped into <see cref="LiteralNode"/> for proper indentation.
/// </summary>
internal class LiteralNode : ASTNode
internal sealed class LiteralNode : ASTNode
{
[ThreadStatic]
internal static LiteralNode? _shared;
Expand Down

0 comments on commit c003ee8

Please sign in to comment.