Skip to content

Commit

Permalink
Fix CS0649 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienros committed Jan 6, 2025
1 parent b852bee commit 9a8ece4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/FastExpressionCompiler/FastExpressionCompiler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1005,8 +1005,10 @@ public class NestedLambdaForNonPassedParams
public static FieldInfo NonPassedParamsField =
typeof(NestedLambdaForNonPassedParams).GetField(nameof(NonPassedParams));

#pragma warning disable CS0649
public readonly object NestedLambda;
public object[] NonPassedParams;
#pragma warning restore CS0649
public NestedLambdaForNonPassedParams(object nestedLambda) => NestedLambda = nestedLambda;
}

Expand Down

0 comments on commit 9a8ece4

Please sign in to comment.