Skip to content

Commit

Permalink
Mark an accidentally public method as private static
Browse files Browse the repository at this point in the history
  • Loading branch information
jeskew committed Nov 15, 2024
1 parent 2facf4f commit 74bd307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bicep.Core/Syntax/VariableDeclarationSyntax.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public VariableDeclarationSyntax(IEnumerable<SyntaxBase> leadingNodes, Token key

public SyntaxBase? TryGetBody() => UnwrapBody(Value);

public SyntaxBase? UnwrapBody(SyntaxBase body) => body switch
private static SyntaxBase? UnwrapBody(SyntaxBase body) => body switch
{
SkippedTriviaSyntax => null,
ForSyntax @for => @for.Body,
Expand Down

0 comments on commit 74bd307

Please sign in to comment.