We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bdaab9b + 3025edf commit 7fa0d98Copy full SHA for 7fa0d98
component-model/src/language-support/csharp.md
@@ -72,7 +72,7 @@ with an `add` function:
72
package example:component;
73
74
world example {
75
- export add: func(x: s32, y: s32) -> s32;
+ export add: func(x: u32, y: u32) -> u32;
76
}
77
```
78
@@ -94,7 +94,7 @@ namespace ExampleWorld;
94
95
public class ExampleWorldImpl : IOperations
96
{
97
- public static int Add(int x, int y)
+ public static uint Add(uint x, uint y)
98
99
return x + y;
100
@@ -144,7 +144,7 @@ namespace ExampleWorld.wit.exports.example.component;
144
145
public class AddImpl : IAdd
146
147
148
149
150
0 commit comments