CLanguage by praeclarum

<PackageReference Include="CLanguage" Version="0.10.151" />

 SizeOfExpression

public class SizeOfExpression : Expression
using CLanguage.Compiler; using CLanguage.Types; using System; namespace CLanguage.Syntax { public class SizeOfExpression : Expression { public Expression Query { get; set; } public SizeOfExpression(Expression query) { Query = query; } public override CType GetEvaluatedCType(EmitContext ec) { return CBasicType.SignedInt; } protected override void DoEmit(EmitContext ec) { throw new NotImplementedException(GetType().Name + ": Emit"); } } }