* ResolvedReference.cs (.ctor): Set 'OriginalItemSpec' and 'ResolvedFrom',
[mcs.git] / tests / test-71.cs
blobe7bd956c5f684bff15ac5dc77ba0ee5483ae19f7
1 //
2 // struct with a constructor
3 //
4 using System;
6 class X {
8 static void Main ()
10 MethodSignature ms = new MethodSignature ("hello", null, null);
12 Console.WriteLine ("About to look for: " + ms.Name);
16 struct MethodSignature {
17 public string Name;
18 public Type RetType;
19 public Type [] Parameters;
21 public MethodSignature (string name, Type ret_type, Type [] parameters)
23 Name = name;
24 RetType = ret_type;
25 Parameters = parameters;