We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff9543d commit 18f858aCopy full SHA for 18f858a
crates/csharp/src/interface.rs
@@ -1330,7 +1330,7 @@ impl<'a> CoreInterfaceGenerator<'a> for InterfaceGenerator<'a> {
1330
.iter()
1331
.map(|field| {
1332
format!(
1333
- "{access} readonly {} {};",
+ "{access} {} {};",
1334
self.type_name(&field.ty),
1335
field.name.to_csharp_ident()
1336
)
@@ -1342,7 +1342,7 @@ impl<'a> CoreInterfaceGenerator<'a> for InterfaceGenerator<'a> {
1342
uwrite!(
1343
self.src,
1344
"
1345
- {access} readonly struct {name} {{
+ {access} struct {name} {{
1346
{fields}
1347
1348
{access} {name}({parameters}) {{
0 commit comments