Skip to content
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
2 changes: 1 addition & 1 deletion source/Handlebars/Compiler/ClosureBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public sealed class Closure
public readonly ChainSegment[]? BP0;
public readonly ChainSegment[][]? BPA;

public readonly object?[] A;
public readonly object?[] A; // NOSONAR: public since 2020; reflection-based codegen in this file needs public GetField lookup

internal Closure(
List<KeyValuePair<ConstantExpression, PathInfo>> pathInfos,
Expand Down
2 changes: 1 addition & 1 deletion source/Handlebars/PathStructure/PathInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private PathInfo(
/// </summary>
// [MemberNotNullWhen(true, nameof(Segments), nameof(TrimmedPath))]
public readonly bool IsVariable;
public readonly PathSegment[]? Segments;
public readonly PathSegment[]? Segments; // NOSONAR: public since v1.0 (2020); staying public avoids a breaking API change
public readonly string Path;
public readonly string? TrimmedPath;

Expand Down
Loading