SwitchCase
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace CLanguage.Syntax
{
[System.Runtime.CompilerServices.NullableContext(1)]
[System.Runtime.CompilerServices.Nullable(0)]
public class SwitchCase
{
[System.Runtime.CompilerServices.Nullable(2)]
[field: System.Runtime.CompilerServices.Nullable(2)]
public Expression Value {
[System.Runtime.CompilerServices.NullableContext(2)]
get;
[System.Runtime.CompilerServices.NullableContext(2)]
private set;
}
public List<Statement> Statements { get; set; }
public SwitchCase([System.Runtime.CompilerServices.Nullable(2)] Expression value, List<Statement> statements)
{
Value = value;
Statements = statements;
}
}
}