You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support expression-bodied (lambda) read-only properties in C# #70
Read-only properties are defined with expression-bodied (lambda) syntax such as:
publicstringData=>"Hello from the default";
srcML:
<expr_stmt><expr><specifier>public</specifier> <name>string</name> <lambda><parameter_listtype="pseudo"><parameter><decl><name>Data</name></decl></parameter></parameter_list> =><blocktype="pseudo"><block_content> <expr><literaltype="string">"Hello from the default"</literal></expr></block_content></block></lambda></expr>;</expr_stmt></unit>
And are used to declare implicit read-only fields. Stereocode does not collect these as they are tagged with <expr_stmt>. Stereocode currently only collects properties with the <property> tag (e.g., auto-properties or regular properties).
changed the title [-]Support expression-bodied (Lambda) read-only properties in C#[/-][+]Support expression-bodied (lambda) read-only properties in C#[/+]on Jan 18, 2026
Activity
[-]Support expression-bodied (Lambda) read-only properties in C#[/-][+]Support expression-bodied (lambda) read-only properties in C#[/+]