CLanguage by praeclarum

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

 TranslationUnit

public class TranslationUnit : Block
using CLanguage.Compiler; using System; using System.Runtime.CompilerServices; namespace CLanguage.Syntax { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] public class TranslationUnit : Block { public string Name { get; } public TranslationUnit(string name) : base(VariableScope.Global) { if (string.IsNullOrWhiteSpace(name)) throw new ArgumentException("Translation unit name must be specified", "name"); Name = name; } public override string ToString() { return Name; } } }