mirror of
https://github.com/actions/runner.git
synced 2025-12-11 04:46:58 +00:00
21 lines
599 B
C#
21 lines
599 B
C#
#nullable disable // Consider removing in the future to minimize likelihood of NullReferenceException; refer https://learn.microsoft.com/en-us/dotnet/csharp/nullable-references
|
|
|
|
using System;
|
|
|
|
namespace GitHub.Actions.Expressions.Sdk
|
|
{
|
|
/// <summary>
|
|
/// Useful when validating an expression
|
|
/// </summary>
|
|
public sealed class NoOperationNamedValue : NamedValue
|
|
{
|
|
protected override Object EvaluateCore(
|
|
EvaluationContext context,
|
|
out ResultMemory resultMemory)
|
|
{
|
|
resultMemory = null;
|
|
return null;
|
|
}
|
|
}
|
|
}
|