Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions crates/csharp/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ impl WorldGenerator for CSharp {

namespace {namespace} {{

public interface {name}World {{
public interface I{name}World {{
"
);

Expand Down Expand Up @@ -472,7 +472,7 @@ impl WorldGenerator for CSharp {

namespace {fully_qaulified_namespace};

public partial class {stub_class_name} : {interface_name} {{
public partial class {stub_class_name} : I{interface_name} {{
{body}
}}
"
Expand Down Expand Up @@ -515,7 +515,7 @@ impl WorldGenerator for CSharp {

namespace {namespace}.{name};

public interface {interface_name} {{
public interface I{interface_name} {{
{body}
}}
"
Expand Down
4 changes: 2 additions & 2 deletions tests/runtime/numbers/wasm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace wit_numbers;

public class NumbersWorldImpl : NumbersWorld
public class NumbersWorldImpl : INumbersWorld
{
public static void TestImports()
{
Expand Down Expand Up @@ -62,7 +62,7 @@ public static void TestImports()
}
}

public class TestImpl : wit_numbers.Wit.exports.test.numbers.Test.Test
public class TestImpl : wit_numbers.Wit.exports.test.numbers.Test.ITest
{
static uint SCALAR = 0;

Expand Down
2 changes: 1 addition & 1 deletion tests/runtime/strings/wasm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace wit_strings;

public class StringsWorldImpl : StringsWorld
public class StringsWorldImpl : IStringsWorld
{
public static void TestImports()
{
Expand Down