royalapplications / beyondnet

A toolset that makes it possible to call .NET code from other programming languages, including C, Swift and Kotlin.
https://royalapps.com
MIT License
111 stars 5 forks source link

Fix init-only properties #55

Closed lemonmojo closed 1 year ago

lemonmojo commented 1 year ago

Example: public string Name { get; init; }

Or with records: public record Person(string Name)

See https://www.meziantou.net/csharp9-init-only-properties-are-not-read-only.htm