mirror of
https://github.com/FabInfra/capnproto-dotnetcore_Runtime.git
synced 2025-03-12 14:51:41 +01:00
Added code to MsBuildGenerationTest
This commit is contained in:
parent
b01c90111f
commit
98b4b6e355
@ -6,7 +6,16 @@ namespace MsBuildGenerationTest
|
|||||||
{
|
{
|
||||||
static void Main(string[] args)
|
static void Main(string[] args)
|
||||||
{
|
{
|
||||||
Console.WriteLine("Hello World!");
|
// Instantiate some generated classes ensures that they are really present.
|
||||||
|
// Note that this code is not supposed to test runtime behavior, we have plenty of other test cases for that purpose.
|
||||||
|
|
||||||
|
var vatId = new Capnp.Rpc.Twoparty.VatId();
|
||||||
|
var msg = new Capnp.Rpc.Message();
|
||||||
|
var node = new Capnp.Schema.Node();
|
||||||
|
var x = Capnproto_test.Capnp.Test.TestEnum.garply;
|
||||||
|
var imp = new CapnpGen.TestImport();
|
||||||
|
var imp2 = new CapnpGen.TestImport2();
|
||||||
|
var book = new CapnpGen.AddressBook();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user