summaryrefslogtreecommitdiff
path: root/csharp/test/Slice/structure/Test.ice
blob: 0d26449d2a03f3c957ce7564340e0e99b68a48bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// **********************************************************************
//
// Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************

module Test
{

sequence<string> StringSeq;
["clr:collection"] sequence<int> IntList;
dictionary<string, string> StringDict;

class C
{
    int i;
};

["clr:class"]
struct S1
{
    string name;
};

struct S2
{
    bool bo;
    byte by;
    short sh;
    int i;
    long l;
    float f;
    double d;
    string str;
    StringSeq ss;
    IntList il;
    StringDict sd;
    S1 s;
    C cls;
    Object* prx;
};

};