add generic methods
[mono.git] / mcs / class / Microsoft.JScript / Microsoft.JScript / COMMethodInfo.cs
1 //
2 // COMMethodInfo.cs:
3 //
4 // Author:
5 //       Cesar Lopez Nataren (cnataren@novell.com)
6 //
7 // Copyright (C) 2005 Novell, Inc (http://novell.com)
8 //
9
10 //
11 // Permission is hereby granted, free of charge, to any person obtaining
12 // a copy of this software and associated documentation files (the
13 // "Software"), to deal in the Software without restriction, including
14 // without limitation the rights to use, copy, modify, merge, publish,
15 // distribute, sublicense, and/or sell copies of the Software, and to
16 // permit persons to whom the Software is furnished to do so, subject to
17 // the following conditions:
18 // 
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
21 // 
22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 //
30
31 using System;
32 using System.Reflection;
33 using System.Globalization;
34 using System.Runtime.InteropServices;
35
36 namespace Microsoft.JScript {
37
38         [GuidAttribute ("C7B9C313-2FD4-4384-8571-7ABC08BD17E5")]
39         [ComVisibleAttribute (true)]
40         public class COMMethodInfo : JSMethod, MemberInfoInitializer {
41
42                 public COMMemberInfo GetCOMMemberInfo ()
43                 {
44                         throw new NotImplementedException ();
45                 }
46
47                 public void Initialize (string name, COMMemberInfo dispatch)
48                 {
49                         throw new NotImplementedException ();
50                 }
51
52                 public override Type ReturnType { 
53                         get { throw new NotImplementedException (); }
54                 }
55
56                 public override ICustomAttributeProvider ReturnTypeCustomAttributes { 
57                         get { throw new NotImplementedException (); } 
58                 }
59
60                 public override MethodInfo GetBaseDefinition ()
61                 {
62                         throw new NotImplementedException ();
63                 }
64
65                 public override MethodImplAttributes GetMethodImplementationFlags ()
66                 {
67                         throw new NotImplementedException ();
68                 }
69
70                 public override ParameterInfo [] GetParameters ()
71                 {
72                         throw new NotImplementedException ();
73                 }
74
75                 public override Object Invoke (object obj, BindingFlags invokeAttr, 
76                        System.Reflection.Binder binder, object [] parameters, CultureInfo culture)
77                 {
78                         throw new NotImplementedException ();
79                 }
80
81                 public override RuntimeMethodHandle MethodHandle { 
82                         get { throw new NotImplementedException (); }
83                 }
84
85                 public override MethodAttributes Attributes { 
86                         get { throw new NotImplementedException (); }
87                 }
88
89                 public override Type DeclaringType {
90                         get { throw new NotImplementedException (); }
91                 }
92
93                 public override MemberTypes MemberType {
94                         get { throw new NotImplementedException (); }
95                 }
96
97                 public override string Name {
98                         get { throw new NotImplementedException (); }
99                 }
100
101                 public override Type ReflectedType {
102                         get { throw new NotImplementedException (); }
103                 }
104
105                 public override string ToString ()
106                 {
107                         throw new NotImplementedException ();
108                 }
109
110                 protected COMMemberInfo _comObject;
111                 protected string _name;
112                 protected static readonly ParameterInfo [] EmptyParams;
113
114 #if NET_2_0
115                 public sealed override Type [] GetGenericArguments ()
116                 {
117                         throw new NotImplementedException ();
118                 }
119 #endif
120         }
121 }